开发者

IOS 4.0 is it a way to add hipperlink kind of interaction to some range of NSMutableAttributetString?

开发者 https://www.devze.com 2023-01-23 05:41 出处:网络
hi i\'m building app with some rich text content on it and text content i have with NSMutableAttributedString. I cought links in my text with regex and made开发者_开发知识库 it blue but don\'t see the

hi i'm building app with some rich text content on it and text content i have with NSMutableAttributedString. I cought links in my text with regex and made开发者_开发知识库 it blue but don't see the way to add some interaction to string ranges of NSAttributedString. is it any way? is there a way to do so?

thank you


here is answer for my own question. I'm new to apple development so this project might be really dirty but it works for me, if anybody wants to improve it or has any suggestions please let me know, lets make this text project better ;) textViewProject

0

精彩评论

暂无评论...
验证码 换一张
取 消