I want to have only one view in my iOS phonegap app.
This view will be a web page.
How can i load this only view with a specific url?
I suppose you d
d0nparalias,
If you want to load main(Cordova's) index.html from remote server, edit config.xml file and change
to
for example. And it will load index.html from web server located on 192.168.1.4.
If you want to open a website right after loading your app, you can use InAppBrowser as you have already noticed.
window.open(url, target, options);
Here you have options for target (according to Cordova docs 2.5.0):
2.1. _self and you'll get something like
Note, that you don't have any controls to return to your index.html in this case.
2.2. _blank — presents modal view controller with dismiss button
2.3. _system — opens in Safari.app
For more information visit documentation and wiki.
Hope it helps.
BR.
Eugene