iOS UIWebView shows nothing but black background -


i use pushviewcontroller navigate webview (in navigation based app), , use nslog in webview check url. turns out url passed webview shows nothing except black background.

    webviewcontroller *webview = [[webviewcontroller alloc] init];     [webview seturl:finalurl];     [self.navigationcontroller pushviewcontroller:webview animated:yes]; 

in webviewcontroller.m----viewwillappear:

    nslog(@"%@", _url); // got url!!!!!!!!!     [webview loadrequest:[nsurlrequest requestwithurl:_url]]; 

have connected web view outlet webview ? in .xib file


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -