Clickable web links in UITableView

Discussion in 'iOS Programming' started by wheelerw, Feb 22, 2010.

  1. wheelerw macrumors member

    Joined:
    Jun 6, 2007
    #1
    Hi,
    I am currently working on a simple UITableView app. In each table there will be a web link. I am trying to get it so that a user can just click the weblink and it will open Safari to that weblink. Any idea how to implement this? Thanks everybody.
     
  2. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    I would suggest having the link open up in a webView inside your app instead (transferring to Safari would mean your app is no longer running.) How would you do this? In the didSelectRowAtIndexPath delegate method, push a new view controller (a UIWebView or subclass) onto the nav stack.
     

Share This Page