SuperFrog
SuperFrog

Reputation: 7674

PhoneGap iOS add UIViewController

I wish to add a UIViewController to my iOS PhoneGap application which will be loaded before the UIWebView is loaded - some kind of splash screen which will play a video, before the actual web page is loaded.

Is that possible using PhoneGap? can someone share their experience doing something like that?

Thanks!

Upvotes: 0

Views: 172

Answers (1)

jcesarmobile
jcesarmobile

Reputation: 53351

I don't think it's possible in a regular phonegap project because you can't call a plugin until the device is ready, and that happens after showing the phonegap view.

But you can create a native project, create the first view controller and then change to a second view controller with a phonegap webview embedded

For more info about embedding phonegap webviews in native project see cleaver doc

Upvotes: 2

Related Questions