繁体   English   中英

使用UITextRange从UITextView获取NSAttributedString

[英]Get NSAttributedString from UITextView with UITextRange

我如何得到一个NSAttributedStringUITextView从指定UITextRange 我似乎找不到任何示例或相关文档。

没关系,我发现了它:

- (id)attribute:(NSString *)attributeName atIndex:(NSUInteger)index effectiveRange:(NSRangePointer)aRange

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM