阅读背景:

为什么在viewDidLoad中没有执行SegueWithIdentifier工作?

来源:互联网 

I'm trying to trigger a storyboard segue as soon as viewDidLoad is called on a view controller. The segue has an identifier attached, and works fine when called from inside a method thats linked to a button or other control. But it doesn't work inside of viewDidLoad. It just silently fails. Is there some rule about segue's being ignored in viewDidLoad?I'm trying to trigger a storyboard segue as soo




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

分享到: