Preview the Cordova 2.3.0 iOS inAppBrowser now!

This feature, built into Cordova 2.3.0, will take the place of ChildBrowser for me. Here are the steps to take to preview it yourself.

1. Download the zip file from

2. Zip file opens as: cordova-ios-master

3. In Terminal, type cd and a space and drag the cordova-ios-master directory’s bin/ directory to the Terminal.

4. Hit Return.

5. Add your version of the following groups of information and hit Return (replace with your own path; there shouldn’t be spaces in your directory names):

./create /Users/Steve/Documents/PhoneGap_apps/PhoneGap_apps/inAppBrowserTest com.companyname.inAppBrowserTest inAppBrowserTest

6. In index.html after the <body> tag, add and save file:

<div style=”padding:1em 2em;”>
<a href=”#” onclick=”‘;, ‘_blank’, ‘location=no’);”>without location bar</a>
<a href=”#” onclick=”‘;, ‘_blank’);”>with location bar</a>
<a href=”#” onclick=”‘;);”>shown in web view ‘)</a>
<a href=”#” onclick=”‘;, ‘_system’);”>system browser</a>


7. Open in Xcode and click on Run to test!

Use _blank to show non-whitelisted URLs in inAppBrowser.
Use location=no to refrain from showing the location bar. It is shown by default, so you can leave off location=no or location=yes and the path URL will be shown above the Done button at bottom.

More in the wiki at 

Other setup instructions:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.