开发者

How do you create a hyperlink in iOS?

How do you create a hyperlink in 开发者_运维知识库an iOS app?


It also answered here in a similar SO question: How to parse and show hyperlinks (phone number/email addresses etc) in UILabel?


Where? Take a look at UITextView's dataDetectorTypes property. Specifically UIDataDetectorTypeLink or UIDataDetectorTypeAll.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜