ios - Dismiss a view and present a new one from within applicationDidEnterBackground -
I have an app that presents its passcode entry when the user launches the app or it comes back from the background When the user opens it from the background, the real app should not have 'flash', in other words, the security screen must be completely loaded before the user reopens the app.
I have this setup ok for most screens.
In a scenario it is possible for the user to call a Segue for the horizontal view controller from the tab bar controller. At that time I have some problems if I do not pop the rotated screen, the input screen comes horizontally, even if the user reopens the app in the picture ..
If I If you dismiss it with the animation then the lock screen does not start to load until the app restarts, so that you can get a flash of content.
If I dismiss it without animation then the lock screen still appears horizontally.
> ApplicationDried Background : To implement and apply these passwords for the passcode view controller UINavigationController from UIViewController.h):
- (BOOL) should be aurotate {return yes; // When the app launches during the device in the landscape it needs to be rotated in the image} - (NSUntiger) Supported interface Orientation {Return UINT orientation orientation; } - (BOOL) Required Arbitrator Interface Orientation: (UIN Effectoration) Interface Orientation {Return (UINPferenceOrmentation Portrait == Interface Orientation); } - (UIInterfaceOrientation) Preferred Interface Authentication {Refund UIInterfaceOrientationPortrait; }
Comments
Post a Comment