-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
19 lines (14 loc) · 724 Bytes
/
README
File metadata and controls
19 lines (14 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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");
// -------------------------------------------