摘要: Attempt to present on whose view is not in the window hierarchy也就是你在呈现一个LoginVC时,但ViewController的view并不在window上,可能是因为ViewController还没被显示出来。所以不要在某个viewController的viewDidLoad或者viewWillAppear方法中去呈现其他的viewController,你如果想要的是ViewController显示之后马上呈现LoginVC的话,可以在viewDidAppear中写方法。 阅读全文
posted @ 2014-04-10 11:33 紫色的柒月 阅读(1191) 评论(0) 推荐(0)