How to cause an UIWebView to display

Discussion in 'iPhone/iPad Programming' started by guydor4, Nov 11, 2009.

  1. macrumors member

    Joined:
    Oct 8, 2007
    #1
    an UIAlertView if it failed to load the page?



    Thanks!
     
  2. macrumors 68000

    Joined:
    Feb 12, 2008
    Location:
    Illinois
    #2
    I suggest either a closer look at the documentation or a more thorough understanding of the way delegates work.

    UIWebViewDelegate has a method webView:didFailLoadWithError: which you can override in order to initialize an alert and display it.
     
  3. thread starter macrumors member

    Joined:
    Oct 8, 2007
    #3
    I looked for it in the documentation, I found it but I didn't understand how to use it

    Can you please help me?
     

Share This Page