开发者

iOS Switch to another ViewController/View after Login on LoginView

I have a LoginViewController with a LoginView. After pressing a login-button and a successful check of the login data i want show a navigationController.

I 开发者_运维知识库dont want to have the Navigation Controller Headline in the LoginView.

Can you give me some tips?


Yes use:

   myNavController.navigationBarHidden = true

Alternatively you can show your LoginViewController, and add the Navigation Controller to the view only after the login-button has been pressed.


You could always try presenting the login view as a modal view controller over the initial navigation view. I have an app that does that, and it works quite well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜