javascript - Customized startup page option for Phonegap Corodva app iOS (setting self.viewController.startPage="index.html" conditional) -


i have phonegap app developed ios, , want set startpage on specific condition, else app should load different page startup page.

i new objective c, , have no idea method in appdelegate.m

- (bool) application:(uiapplication*)application didfinishlaunchingwithoptions:(nsdictionary*)launchoptions { //code } 

is there plugin or code available achieve this?

use javascript , check conditions inside deviceready event , change pages


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -