如何在 iOS 中显示 NSString 中的 1/2 字符?
我正在开发一个 iOS 应用程序,我想将小数值 1/2 作为 NSString 中的单个字符放置在 UILabel 中,这可能吗?
I'm working on an application for iOS in which I would like to place the fractional value 1/2 as a single character within an NSString for use in an UILabel, is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

尝试将标签的文本属性设置为 1/2 的 Unicode:
Try setting the label's text property to the Unicode of 1/2: