Need help with UIwebView. Very Small Question.

Discussion in 'iOS Development' started by ChronicFunk, Apr 2, 2009.

  1. ChronicFunk

    ChronicFunk New Member

    Joined:
    Mar 14, 2009
    Messages:
    289
    Likes Received:
    0
    Device:
    iPhone 4 (Black)
    I'm using the Interface Builder and I added the WebView object. Now, how do I tell the object to go to a certain url?
  2. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    Go to the documentation in the hep menu and search for UIWebView, that should help you. There is also a tutorial at http://iphonedevcentral.org although it may be outdated.
  3. jamil_d

    jamil_d Active Member

    Joined:
    Dec 15, 2007
    Messages:
    2,041
    Likes Received:
    12
    Device:
    iPhone 3GS (Black)
  4. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
    That’s the tutorial I was referring too.
  5. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    Code:
    [yourWebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://ifans.com/forums"]]]; 
    

Share This Page