Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use phonegap to be part of whole native ios application

I am with ios, I have a NavigationController with many child views.

I'd like to mix PhoneGap in, to create a new UIViewController with a webview inside, and use PhoneGap technology in this UIViewController.

I read the PhoneGap docs, only found that I need to use PhoneGap application-wide, to build the app from scratch, that is not what I need.

How to do that?

like image 386
virsir Avatar asked Nov 17 '11 02:11

virsir


People also ask

How does a PhoneGap application interact with the native components interfaces?

Ans: PhoneGap has a plugin-based architecture. Each device-specific feature is a plugin, which consists of javascript and native sides. Js side should be as cross-platform as possible, whereas native side can be implemented only once, for 1 device.

What are the tools required to develop the PhoneGap application for Android?

Eclipse ADT Plugin ADT (Android Development tools) is a plugin of eclipse which provide a complete IDE for developing Android application. ADT lets you create new Android projects, and it lets you create Android projects from existing source (this is the way we will open our PhoneGap app for android on eclipse).


1 Answers

Use PhoneGapViewController instead of UIViewController

like image 156
Flatlineato Avatar answered Oct 21 '22 03:10

Flatlineato