storyboard貌似不错

冷静下来看了下,貌似聽简单,蛋疼,忙完才发现,弄的时候咋没发现,靠

push,present等可以全部用下面这个api搞定

- (void)performSegueWithIdentifier:(NSString *)identifier sender:(id)sender

identifier是那个两个viewController之间的连接线,直接用鼠标右键拖动vc1到vc2,就会问,亲,你是push,还是model,还是custom?

custom还不知道,push和model都用这个搞定了

很好很强大

原文地址:https://www.cnblogs.com/ziyouchutuwenwu/p/3456494.html