I am trying to set a URL into UILabel such that the label is clickable by the user and opens in the phone's browser.
What is the way to do this?
I tried something like this but it errors out with unrecognized selector sent to instance
@url = q.append(UILabel, :url_label).get
@url.text = NSURL.URLWithString('http://www.rubymotion.com')
I preferably want to have a text that is clickable rather than showing a long url to the user.
Example: More Info rather than http://google.com