求解决IPad上IOS开发上下标的显示,要求透明色,可加链接。
求大师解决,如需RMB也可.....
------解决方案--------------------
自绘 一个uiview
------解决方案--------------------
调研下 NSAttributedString 能不能解决问题。
参考:
1、https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSAttributedString_Class/Reference/Reference.html
2、https://github.com/Cocoanetics/DTCoreText
如果解决不了,就没有什么简单的方法了。
------解决方案--------------------
根据字符编码,重定义字符基线,应该可以实现。
------解决方案--------------------
第一、 NSMutableAttributedString
第二、 addAttribute:value:range: (kCTSuperscriptAttributeName)
------解决方案--------------------
学习了。。。
------解决方案--------------------
謝謝
學習了