如何在 iOS 文本字段中支持 Richtext
在 iOS 应用程序中支持富文本(粗体、斜体、字体大小等)的最佳方式是什么?我不相信 UITextView 和 UIWebView 可以做到这一点。大多数文字处理应用程序使用什么?
What is the best way to support richtext (bold, italics, font sizes, etc) in an iOS app? I don't believe UITextView and UIWebView can do this. What are most word processing apps using?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Core Text API 是执行此操作的一个工具。
请查看本教程 和 Apple 的文档。
One tool to do this is Core Text API
Take a look at this tutorial and the documentation from Apple.