Page 1 of 1

how to force homepage

Posted: Tue Nov 13, 2012 1:52 pm
by Eric5020946

when app opens safari or simply is closed by a home button (put in background) it always comes back on the last page visited by the user, this is usefull in most cases but I need to force app to open homepage when brought back from background

any ideas how to force homepage?


how to force homepage

Posted: Tue Nov 13, 2012 3:52 pm
by Maryna Brodina

Hello! I'm not aware about the exact steps. This should help http://comments.gmane.org/gmane.comp....

Add JS handler on event which will navigate user to homepage


how to force homepage

Posted: Fri Nov 23, 2012 12:18 am
by Eric5020946

actually using RESUME event is not a good option for homepage that have more than 1 REST requests, it's causing white screen to show up making it look like loading browser, not pretty...

Instead I found this article showing how to force application to start on homepage and use splash screen:
http://devgirl.org/2012/11/15/embed-c...

adding this code to generated by tiggzi xcode project would solve all caching/refreshing issue of tiggzi users:

viewController.wwwFolderName = @"myfolder";
viewController.startPage = @"mystartpage.html";
viewController.useSplashScreen = YES;

any chance to implement this solution?
at this moment apps from tiggzi open from background on last visited page for some random period of time, sometimes after 15 minutes sometimes after 12 hours they "reset" and start with splash screen - this is very annoying and bad form usability point of view

tiggzi should standarize this behavior either by adding option to SETTINGS or forcing consistent opening procedure like above


how to force homepage

Posted: Fri Nov 23, 2012 12:39 am
by maxkatz

Thanks for the suggestion.. we'll review and see when we can add it as a global solution.