更新时间:2023-11-25 19:42:52
来自字符调色板:
¹
SUPERSCRIPT ONE
Unicode: U+00B9, UTF-8: C2 B9
²
SUPERSCRIPT TWO
Unicode: U+00B2, UTF-8: C2 B2
³
SUPERSCRIPT THREE
Unicode: U+00B3, UTF-8: C2 B3
为了使它们成为 NSStrings
,你需要:
This, to make them in to NSStrings
, you'd do:
NSString *superscript1 = @"\u00B9";
NSString *superscript2 = @"\u00B2";
NSString *superscript3 = @"\u00B3";