I’m building another application for iOS and this time I would like to go more native with PhoneGap, so I saw NativeControls and I loved the plugin features, but how do I get it setup on a Xcode 4 project? I haven’t seen any tutorials about this.
Share
First, you must reference the NativeControls.js file in your html page after including it in the www folder. Make sure that this file is located AFTER the phonegap.js file in your html. Next, add the .m & .h files in the plugins folder. Last, add NativeControls as a key in the phonegap.plist file, setting value as string. Also keep in mind this plugin only works for the iPhone.
You may also try checking out http://hiediutley.com/2011/03/30/phonegap-tutorial-series-%E2%80%93-5-third-party-plugins-nativecontrols/