Proper way to do “conditional segue” in iOS5

拈花ヽ惹草 提交于 2019-11-28 19:32:17

You can create "generic" segue by ctrl dragging from the viewController icon at the bottom to the destination. This segue won't be associated with any action. Then in your code where ever the event is using your conditional code that you want to trigger the segue call:

- (void)performSegueWithIdentifier:(NSString *)identifier sender:(id)sender
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!