Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can embed a cordova webview in any ios project following this steps: (Steps for cordova version &lt; 2.3, in 2.3 its a bit different, see the link below)</p> <blockquote> <p>Adding Cleaver to your Xcode project (CordovaLib sub-project)</p> </blockquote> <pre><code>Install Cordova Copy the Cordova.plist file into your project folder on disk Drag and drop the Cordova.plist file into the Project Navigator of Xcode Choose the radio-button "Create groups for any added folders" Press the key combination Option-Command-A, which should drop down a sheet to add files to your project (the "Add Files..." sheet). Make sure the "Created groups for any added folders" radio-button is selected Press the key combination Shift-Command-G, which should drop down another sheet for you to go to a folder (the "Go to the folder:" sheet) Enter ~/Documents/CordovaLib/ in the "Go to the folder:" sheet and then press the "Go" button Select the VERSION file in the the "Add Files..." sheet Press the "Add" button in the "Add Files..." sheet Press the key combination Option-Command-A, which should drop down a sheet to add files to your project (the "Add Files..." sheet). Make sure the "Created groups for any added folders" radio-button is selected Press the key combination Shift-Command-G, which should drop down another sheet for you to go to a folder (the "Go to the folder:" sheet) Enter ~/Documents/CordovaLib/CordovaLib.xcodeproj in the "Go to the folder:" sheet and then press the "Go" button Press the "Add" button in the "Add Files..." sheet Select CordovaLib.xcodeproj in the Project Navigator Press the key combination Option-Command-1 to show the File Inspector Choose "Relative to CORDOVALIB" in the File Inspector for the drop-down menu for Location Click on the project icon in the Project Navigator, select your Project, then select the "Build Settings" tab Add -all_load and -Obj-C - for the "Other Linker Flags" value Click on the project icon in the Project Navigator, select your Target, then select the "Build Phases" tab Expand "Link Binaries with Libraries" Click on the "+" button, and add these frameworks (and optionally in the Project Navigator, move them under the Frameworks group): AddressBook.framework AddressBookUI.framework AudioToolbox.framework AVFoundation.framework CoreLocation.framework MediaPlayer.framework QuartzCore.framework SystemConfiguration.framework MobileCoreServices.framework CoreMedia.framework Expand "Target Dependencies" - the top box labeled like this if you have multiple boxes! Click on the "+" button, and add the CordovaLib build product Expand "Link Binaries with Libraries" - the top box labeled like this if you have multiple boxes! Click on the "+" button, and add libCordova.a </code></pre> <p>for more info</p> <p><a href="http://docs.phonegap.com/en/2.0.0/guide_cordova-webview_ios.md.html#Embedding%20Cordova%20WebView%20on%20iOS" rel="nofollow">phonegap cleaver &lt; 2.3.0</a></p> <p><a href="http://docs.phonegap.com/en/2.3.0/guide_cordova-webview_ios.md.html#Embedding%20Cordova%20WebView%20on%20iOS" rel="nofollow">phonegap cleaver >= 2.3.0</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload