Swift 3: Audible - Hijacking Root View Controller from AppDelegate (Ep 8)

Опубликовано: 29 Сентябрь 2016
на канале: Lets Build That App
28,558
526

An important topic today that we'll be going over is how to present our login component as our initial view controller. This is dependent on the condition that our user is already logged in or not.

To do this efficiently, we're going to take over the initial root view of our UIWindow and present our own UINavigationController that either holds our Home screen or our Login screen. This is a very interesting technique that you can also adopt for you app.

Enjoy.

Completed Source Code
https://www.letsbuildthatapp.com/cour...

Previous Episode 7:    • Swift 3: Audible - How to handle Land...  

Want to learn more about iOS Development? Here are a few additional playlist resources on my channel:

Lets Build AppStore series:
   • Recreating App Store  

Lets Build Facebook Feed series:    • How to Create Facebook's News Feed  

Lets Build Facebook Messenger series:    • Lets Build Facebook Messenger  

Follow me on Twitter:   / buildthatapp