UIWebView not loading webpage

Howdy...
I'm trying to get a webpage to load inside of my application but the page never seems to load.
I am loading my webView controller page from another view controller..
I have the view loading and my title is changin according to my script but i don't know whta i'm missing to make the webpage load in my UIWebView.
here is the code i've got...
The function gets called once a button is pushed..
-(IBAction)showWebsiteInfo{
WebViewController *viewController = [[WebViewController alloc] initWithNibName:@"WebViewController" bundle:[NSBundle mainBundle]];
viewController.title = @"Website";
NSString *urlAddress = @"http://www.google.com";
NSURL *url = [NSURL URLWithString:urlAddress];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:ur];
self.webView = viewController;
[viewController autorelease];
[self.navigationController pushViewController:self.webView animated:YES];
+everything between the lines is my code... i dont know why it's being formatted like that!!!+
I'm not getting any compiler errors so my scirpt "should" work but it's not loading my webpage...
thanks for any help provided..
-Steph

Yes, you are correct WebViewController is my nib and my class file name
the big picture looks like this..
i have a table view that once a cell if selected it will load a new view with buttons... one of these buttons is the one that will load my WebViewController.
The IBAction for my button is in the ToyViewController, once click i want it to open the webpage pertaining to the toy in question (for testing purposes i put google.com)...
It took me a long time to get the WebViewController working and now i can't get the UIWebView to work
I read on other forums that the UIWebView is sometimes make really small and you can't view it but this is not the case. I changed my background color and i can see the UIWebView perfectly...
one more thing that might help
i've been playing with header file for my WebViewController and i was wondering if the @interface makes a difference
i had it like
@interface WebViewController : UIViewController <UIWebViewDelegate>
@interface WebViewController : UIViewController
and they both work but i'm not sure what the difference is...
would i be better off making a subview of the ToyViewController class??
I'm sorry for all the answers i've been on this for so long... your help is really appreciated... thanks

Similar Messages

  • MacBook Black Late 2007 will not load webpages or data on wifi

    Hello,
    I was cleaning out my MacBook's fan last night and was able to seal it up and boot it up successfully, it would recognize and connect to Wi-Fi networks, but would not load webpages or data. PLEASE HELP!!!
    MacBook 3,1
    2.2 GHZ INTEL CORE 2 DUO
    2 GB 667 MHZ SDRAM
    250 GB OWC MERCURY ELECTRA 3G SSD

    Hi chris_flies,
    If you are having WiFi connection issues with your MacBook, you may find the following article helpful:
    Wi-Fi: How to troubleshoot Wi-Fi connectivity
    http://support.apple.com/kb/HT4628
    Regards,
    - Brenden

  • Safari will not load webpages

    Safari will not load web pages. The browser hangs and stops loading completel and will not connect to the internet, even though I am perfectly connected to wifi...so I know it's not the wifi that's a problem. I have looked through multiple forums for troubleshooting safari to no avail.
    I know for a fact that the problem lies within safari SOMEWHERE, and since the only way for me to connect to the internet is through safari (i'm on a school network that doesn't allow me to connect to any other web browsers), I can't run any updates, reinstall safari, download any programs, etc.
    I'm totally stuck in a rut and I don't know what to do...help!

    Launch the Terminal application and copy or drag -- don't type -- the line below into the window:
    curl -I http://www.apple.com
    Press return. You should get several lines of output below what you entered, starting with this:
    HTTP/1.1 200 OK
    Is that what you get?
    Safari will not load webpages 
    I figured out a way to drag the link into the terminal application, and I did get lines of output starting with HTTP/1.1 200 OK

  • Will not load webpages

    I don't understand. Using either firefox or safari neither will open some webpages. Celtx.com and bbedit.com "Safari can’t open the page “http://www.bbedit.com/” because it could not connect to the server “www.bbedit.com”" HOWEVER... when I use my linux computer on the SAME network I can connect with no problem. WHY WHY WHY will it not load. I have turned off the firewall, reset everything like a bagillion times and still nada. what is going on here??
    HELP!!
    many thanks,
    c

    Deleted Peer Guardian! Works! THANK YOU!!! Sorry apple for getting mad at you! I do love you

  • Safari Not Loading Webpage Menus

    My Safari does not load all webpage menus correctly.  I'm trying to book some flights and KLM and Expedia work fine, but the pop-up calendar for the British Airways website seems stuck on January and Etihad will not give destination options in it's drop down menu.  I have tried these sites on other computers and everything works fine.
    Any thoughts?

    Hi ...
    Check to see if Safari is running in 32 bit mode.
    Right or control click the Safari icon in your Applications folder then click Get Info.
    In the Get Info panel, If the box next to:  Open in 32 bit mode is selected, deselect, quit then relaunch Safari.
    If you haven't emptied the cache or reset Safari lately...
    From your Safari menu bar click Safari > Empty Cache
    From the menu bar again, click Safari > Reset Safari. Select the top 5 boxes, click Reset.
    Quit then relaunch Safari to test.
    Since you are running Lion installing the Java for OS X Lion Update 1 may help also.
    Restart your Mac after the update is installed. Try Safari.

  • Web browsers not loading webpages

    Overnight, a couple of days ago, my web browsers (Safari and Chrome) both stopped loading webpages. When I click on a link, I get a blank page. But when I am logged as a guest or browse through Vmware's windows I can still browse normally. Thanks for helping to fix this.

    Thank you Carolyn,
    I've got Sophos installed from long time ago. That's the only antivirus that is installed.
    Checking in firewall settings didn't help I think, cause even after desactivating the firewall temporaly didn't fix the issue in both web browsers.
    This issue is not discussed in Mac malware guide.
    Another detail, is that some web content will load like this discussion group or google search. But If I click on any item from google search, the page won't load.

  • Safari does not load webpages.

    Hello, I have recently had a problem with webpages not loading in Safari. Some pages load up fine while others attempt to load but end up saying that "Safari cannot find the server." Does anyone know what the problem might be? I am using Mavericks 10.9.1 and Safari 7.0.1, I have also noticed some pages take extemely long to load. This was never a problem before it had just started happening over the past couple of days. Thanks for your help.

    HI,
    Several things to try.
    From the Safari Menu Bar, click Safari / Reset Safari. Select the top 7 buttons and click Reset. Relaunch Safari. If you still have problems accessing some websites...
    Go here for trouble shooting 3rd party plugins or input managers which might be causing the problem. Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    If third party Safari add-ons aren't the issue, Go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    And repair disk permissions.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Safari 5.0.6 not loading webpages for over 40 minutes...

    Hi!   Just today when I was using the iMac 10.5.8, Safari did not load the webpages like it would normally do. Sometimes when you click on it, it wouldn't even load. The webpages don't load and the blue bar stops there. Anyone have a solution?? Thanks.

    If Safari is getting very slow:
    (Presumably you regularly empty your Safari cache by deleting the following file:
    Home/Library/Caches/com.apple.Safari/cache.db
    and clear your History)
    Adding Open DNS codes to your Network Preferences, should give good results in terms of speed-up* as well as added security, (including anti-phishing and redirects) (Full information about Open DNS is here:   http://www.opendns.com/home-solutions and here:  http://www.opendns.com/technology/opendns-vs-google-public-dns/ )
    and further independent information can be read here:
    http://reviews.cnet.com/8301-13727_7-57338784-263/free-dnscrypt-tool-enhances-ma c-web-security/?tag=mncol;txt
    and here:
    http://www.macworld.com/article/1146064/troubleshootdns.html?t=234
    * as confirmed by: http://lifehacker.com/5835775/google-dns-and-opendns-users-are-getting-a-web-spe ed-boost
    and Apple:
    http://support.apple.com/kb/TS3408?viewlocale=en_US
    but results may vary depending on where you are located.
    If you are using a single computer: Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu, and in the box marked 'DNS Servers' add the following two numbers:
    208.67.222.222
    208.67.220.220
    (You can also enter them if you click on Advanced and then DNS)
    Sometimes reversing the order of the DNS numbers can be beneficial in cases where there is a long delay before web pages start to load, and then suddenly load at normal speed:
    http://support.apple.com/kb/TS2296
    If your computer is part of a network:please refer to this page: http://www.opendns.com/start/best_practices/#your_network and follow the advice given.
    If you use a Router, make sure it has the latest firmware installed.
    One reason for a slowness in page loading may be the 'DNS Pre-fetching' feature of Safari 5.x onwards as is described here:
    http://support.apple.com/kb/TS3408?viewlocale=en_US
    You can cancel DNS pre-fetching by going to Terminal and typing:
    defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false
    You have to restart Safari for it to take effect.
    If Safari seems to hang for ages:
    If you have a lot of tabs open and/or a lot of pages running Flash, Safari can sometimes 'hang', requiring a restart of Safari. This can often be inconvenient, and as it is rarely Safari itself that is hanging but merely one of its plug-ins, usually Flash, there is a way using Terminal to restart the plug-ins (without restarting Safari and losing your tabs) by quitting the WebPluginHost process:
    Open the Terminal from the Utilities folder in /Applications and type
    killall -9 WebKitPluginHost
    Note that this command kills all Safari plug-ins, not just Flash. All plug-ins should start back up when you reload the page.
    Then go back to Safari and refresh any pages that were using the Flash plug-in. This also fixes the Beachball of Death. Try this whenever Safari gets slow or freezes. The later versions of Flash 10.1 onwards appear to have improved the situation somewhat, but haven't completed eliminated it.
    For this and other reasons Apple switched their websites to HTML5 in January 2011:
    http://www.appleinsider.com/articles/11/01/26/apple_revamps_its_public_website_u sing_html5.html
    For Snow Leopard/Lion users this should also be read:
    http://support.apple.com/kb/TS3408

  • Firefox will not load webpages: no error message, just keeps on circling

    Firefox suddenly stopped loading webpages. The little circle with a ball just keeps on circling.
    I had just downloaded a backup for my wordpress site, and downloaded a windows update but postponed restart. I tried restarting the computer but it didn't change anything.

    Hello!
    Please provide the following information to better assist you: <br>
    *Firefox version
    *Operating system

  • My Firefox is not loading webpages with the extention .php Why Is This and How Can I Open .php Files In Firefox?

    my firefox 4 web browser is not loading web pages with the file extention .php what can i do to load .php web pages in firefox?

    No, I know full well what .chm files are, and how to search for info about them. I'd rather have an answer to the specific question I asked, which I asked for specific reasons.
    You seem to have ignored my question, and leapt to massive assumptions about what I "really" need, and it's puzzling that you persist with them even after I've told you your assumptions are wrong. Your answers come across as somewhat patronising, maybe intentionally so - is that what you intended? Why would you do that?

  • Firefox not loading webpages from yesterday. I am getting a string of error and warning messages. I tried reloading but getting same messages. Like Parsing Value, Unknown property zoom. Lots of different errors. Cannot re-load pluggins. Help!

    Used Firefox for some time no problem until yesterday. Now it wont load web pages. Getting a string of warnings and errors. Tried reloading but getting same errors. Can't download pluggins. Error in Parsing, Unknown Property, Unknown Zoom, loads of messages like this for no apparent reason. Help please!
    == 10 July 2010

    Same thing started after updating to 3.6.6 on Window XP. Some pages load after doing "shift - Reload page", but not always. Error Console is showing a lot of "Errors" and lots of "Warnings" from pages that do not load. But before 3.6.6 update the pages loaded OK.

  • My iMac will not load webpages, but my internet connection is fine.

    I was watching a video on Hulu, and suddently I got a error that the website could not load. Since then, I can't load most pages (yet oddly I have found one page that still works.) Network diagnostics says that everything is working fine... and I can still connect to everything just fine with with my MacBook and iPhone on the same network. I have the same problem whether I am trying to use Safari or Google Chrome. Any ideas about what could make this happen all of a sudden? I have tried everything I have ever done when faced with a connectivity problem - I'm thinking it must be some specific setting on the computer that got messed up somehow.

    Try using different DNS servers like OpenDNS (208.67.222.222, 208.67.220.220).

  • Safari, FireFox and Chrome are not loading webpages in OS X Lion

    I have been unable to load certain webpages in any of my web browers that I have installed. This includes Safari, FireFox and Chrome. While I am able to load sites such as ESPN.com without any issue, I cannot connect to Facebook.com or CNET.com. I have tried clearing by browser history and cache, turning off and on my wifi and restarting my computer. Any ideas of what the issue is and whether there is a relatively simple fix that does not require waiting for an updated software release from Apple?

    Reset Safari more often.
    From your Safari menu bar click Safari > Reset Safari
    Select:   Clear History  (also empties the cache)
    Deselect the remaining boxes then click Reset.
    Quit and relaunch Safari to test.

  • Safari Will Not Load Webpages since iCloud and osx software update

    I already had updated to osx lion, and this was just a package update for it, including iCloud.  Ever since I am able to open safari no problem and occasionally after about 5mins it will load a webpage.  I also use firefox and opera and i do not have a problem with either of those but I would prefer to continue using safari if it can be fixed.  Any suggestions?
    Thanks

    Check Safari / Preferences - Extensions. If you have any installed, turn that off, quit then relaunch Safari to test.
    And could be a third party plugin preventing pages from loading as they should. Troubleshooting help here > Safari: Unsupported third-party add-ons may cause Safari to unexpectedly quit or have performance issues

  • Firefox will not load webpages and has trouble quiting

    Recently, firefox has randomly stopped being able to load pages as if the wireless was not work (redirected to the cannot find server page). I would think this was a problem with the internet, but when I restart my wireless it is not fixed and my other browsers do not see the same issue. When I restart firefox it works again, but I usually have to do this several times a day. Another issue, firefox will not quit when I do command Q. The window will close but the application will not quit, and I have to go and force quit it. Background info, using Macbook, wireless internet, firefox is up to date. Thanks for your help.

    Hello!
    Please provide the following information to better assist you: <br>
    *Firefox version
    *Operating system

Maybe you are looking for