I am building an App and Deployment Target back to iOS 7 (so Launch Screen File in xCode6 not work for me)
The issue is App will have launch images which appear at the beginning. After AppDelegate Finished and loading a NavigationView as rootViewController (defined in Storyboard). I added a new subview (in ViewDidLoad) with same Launch Image with UIActivityIndicatorView (so it keep smooth and telling user it is working).
The problem is after AppDelegate finished, it will show the View of RootViewController and then show 'Launch image with UIActivityIndicatorView'. Although it show very fast, it look like the screen flash and it affecting user experience.
What should I do to avoid it? Thank you
- (void)viewDidLoad
{
[super viewDidLoad];
//Create a simple UIView with BG img and UIActivityIndicator
dispatch_sync(dispatch_get_main_queue(),^{
[self popLoadingScreenWithType:0];
});
//...something else for App execute
}
Aucun commentaire:
Enregistrer un commentaire