NSInvalidArgumentException :Application tried t...

违背了一个原则: spa

Apple expects you to treat their UI elements in a certain way. element

即一个东西必须明确它的做用 io

在使用storyboard的 方法

prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender方法中使用了: im

[self presentViewController:settingsViewController animated:YES completion:NULL]; animate

由于自己这个segue已经说明了settingsViewController modal显示,而后再使用presentViewController 是多余的。 storyboard

相关文章
相关标签/搜索