阅读背景:

IPhone - 解除模态视图控制器后 - 页面顶部留有间隙

来源:互联网 

When starting the app, if the user doesn't have login information stored, I want to display a modal view controller to force the entry of this information. I found through trial and error, that this had to occur in viewDidAppear of my root view controller. I tried to put it in viewDidLoad and viewWillAppear, but those didn't work unless I assigned the view of the root view controller to the view of the navigation controller used in the modal which then caused other issues...When starting the app, if the user doesn't have




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: