I'm new to iOS development and perhaps it is really simple question. So I want to build an application which is a signup screen and after this successful login we go to a home screen which is a tabbed application. How do I achieve this goal? I tried to search for it, but searched all other searches and none I was looking for. Please do not down vote, and can use any would be appreciated to help You just a UINavigationController (set this in your App rep as root window controller of your window) Start navigation controller with your login view controller. Once the user logs in, just push your so you can easily access your root view controller to the property of your application delegate Then in your After successfully logging the user, push the tab bar controller on the stack. UITabBarController on the navigation pile.
@property (nonatomic, strong) UINavigationController * Route navigation controller; @synthesize rootNavigationController application: didFinishLaunchingWithOptions: function:
self.rootNavigationController = [[UINavigationController alloc] initWithRootViewControler : MyLoginViewController]; // handle myLoginViewController present self.window.rootViewController = self.rootNavigationController;
Comments
Post a Comment