I'm trying to find solution for it and confused how do I display third power/ cube in a UILabel. I tried to find answer in previously asked question but none of them were useful.
Questions i tried to get answers :
how-to-show-superscript-for-registered-symbol
UILabel and superscript
If I have to use unichars how do I use them for Superscripts??
Thanks..
You need to include the unicode symbol for a superscripted three:
NSInteger number = 10;
NSString *cubedSymbol = @"\u00B3";
NSString *tenCubed = [NSString stringWithFormat:@"%d%@",number,cubedSymbol];
Plenty more fun is to be had here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With