Is there any way I can include a superscript with NSString? For example, I want to write square feet, like this: foot2.
相关问题
- iOS SecKeyRef from NSString
- How do I use % character in NSString stringWithFor
- isEqualToString always returns False
- NSArray and NSString
- % sign in string objective c
相关文章
- In Objective-C, how to print out N spaces? (using
- Get result from shell script objective-c
- How to clear cookies for specific domain in iOS?
- extract digits from string in Obj-C [duplicate]
- stringWithFormat vs initWithFormat under ARC
- NSMutableUrlRequest eats plus signs
- Parse NSDictionary to a string with custom separat
- if NSString does not equal function?
In this particular case, there is in fact a single Unicode character that represents a small "2" written above the line. It is U+00B2 (Superscript Two).
You should be able to do something like: