storyboard
iAdaChoi
这个作者很懒,什么都没留下…
展开
-
- (void)performSegueWithIdentifier:(NSString *)identifier sender:(nullable id)sender 失效
在storyboard拉线关联的时候不是控件右键选择action,而是在RootViewcontroller右键选择manual。传值就写在- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(nullableid)sender {}方法里面要是不需要 - (void)performSegueWithIdentifier:原创 2016-04-11 14:29:14 · 1767 阅读 · 0 评论 -
Storyboard () doesn't contain a view controller with identifier 'xxx'
查看对应storyboard文件左边是否有个小三角形,有则点开三角形查看storyboard里面的是否包含有storyboard的同名类目文件,有则选中并在右边对应Localizetion的地方删除选中问题来源:在给storyboard做国际化的时候生成了诸如Main.Storyboard(English)等类目文件,导致storyboard里面的ID重复...原创 2019-07-05 11:16:07 · 1778 阅读 · 0 评论