开发者

Turning label into hyperlink Iphone

开发者 https://www.devze.com 2023-02-12 06:59 出处:网络
I have a UILabel which text is www.google.com. Now if someone moves the cursor on the text and press it the google\'s h开发者_如何学编程omepage should be open. Is it possible? please explain how....Th

I have a UILabel which text is www.google.com. Now if someone moves the cursor on the text and press it the google's h开发者_如何学编程omepage should be open. Is it possible? please explain how....


This is probably the direction you need to go see: Create tap-able "links" in the NSAttributedString of a UILabel? and then go to: http://furbo.org/2008/10/07/fancy-uilabels/

0

精彩评论

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