ios6 - How to present a login screen before uisplitviewcontroller? -
I am developing an app with UISplitViewController. However, I need to show a login screen before UISPlitViewController. A simple UIViewController has been created and I created a Segue from DetailViewController in the new UIViewController. I have also created a ViewDeadPaper in detail in the Visual Controller, which calls SEGU.
- (zero) viewDeadapp: (BOOL) animated {[super viewDidAppear: animated]; [Self Performance Cigu with Identifier: @ "Login SageUu" Sender: Self]; }
I found this error: "There is no segue with identifier 'login sigu'"
Is there any way to do this? Great way?
Thanks
I got the solution myself: a model inside the application Call onDefiefDisable in AppDelegate Example: Static Sendout_OnceTit; Dispatch_once (& amp; one time token, ^ {UIStoryboard * storyboard = self.window.rootViewController.storyboard; LoginViewController * launchViewController = [Storyboard Instinct ViewControllerWithIdentifier: @ "Log In Visual Controller"]; [Self. Window ViewView Controller ViewController : LaunchView Controller Animated: Not Complete: NULL] LaunchviewControler; Managed Object Contact = Self Management Object Context;});
Comments
Post a Comment