How to cause an UIWebView to display

Discussion in 'iOS Programming' started by guydor4, Nov 11, 2009.

  1. guydor4
    Expand Collapse
    macrumors member

    Oct 8, 2007
    an UIAlertView if it failed to load the page?

  2. Niiro13
    Expand Collapse
    macrumors 68000

    Feb 12, 2008
    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. guydor4
    Expand Collapse
    thread starter macrumors member

    Oct 8, 2007
    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