-
Notifications
You must be signed in to change notification settings - Fork 0
This little plugin helps to remove the splash screen (Default.png) manually with a javascript call after your sencha touch application is fully loaded. This prevents the white-screen which normally occurs because phonegap removes the overlay to early.
chr1gu/SenchaHelperPlug
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
First you need to hack the Phonegap lib and prevent it from hiding the splash screen after the webview is loaded.
1. Open PhoneGapDelegate.m and go to line 413:
// -------------------------------------------
// comment out these lines:
// imageView.hidden = YES;
// [window bringSubviewToFront:viewController.view];
// ..and add these:
[window addSubview:viewController.view];
[window bringSubviewToFront:imageView];
// -------------------------------------------
2. After phonegap and your sencha touch application is loaded call the helper plugin:
// -------------------------------------------
PhoneGap.exec("SenchaHelperPlug.removeSplashScreen");
// -------------------------------------------About
This little plugin helps to remove the splash screen (Default.png) manually with a javascript call after your sencha touch application is fully loaded. This prevents the white-screen which normally occurs because phonegap removes the overlay to early.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published