I am learning ios/ xcode and at a roadblock.
I have a tabbarcontroller+navigation based design. I need to present a login screen if user is not logged in. Here is the basic heirarchy. The login page needs a navigationBar (as the tutorial I followed puts a "Go" button on the bar.
LoginController: (LTController.h,.m)
Main View:TabBarController>
NavigationController>View1>View1a
NavigationController>View2
I read lot of posts here on modal view, delegate method, etc. Most of them are code snippets which unfortunately are a bit over the head for my beginner level.
Would appreciate a simple explanation as to how to achieve this. Espacially a note on which files needs changes would be great.
thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…