How to load external url to cordova webview - iOS -


want how call external url in embedded cordova webview in ios application. can escape giving www folder , start page?

example url: http://www.stackoverflow.com

this snippet tried, since checks www folder, wont work.

cdvviewcontroller *viewcontroller = [cdvviewcontroller new]; viewcontroller.wwwfoldername = @""; viewcontroller.startpage = @"http://www.stackoverflow.com"; viewcontroller.usesplashscreen = yes; viewcontroller.view.frame = cgrectmake(0, 0, 320, 480); [self.view addsubview:viewcontroller.view]; 

is there way call such external url end?

thanks bunch.

this task :

[viewcontroller.webview loadrequest:[nsurlrequest requestwithurl:[nsurl urlwithstring:@"http://www.stackoverflow.com"]]];


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -