Storyboard crash - coding-compliant key sceneViewController

后端 未结 4 2158
时光取名叫无心
时光取名叫无心 2021-02-19 04:31

I\'m getting an intermittent crash using Storyboards in iOS 5. Every so often, I get a SIGABRT when I try to instantiate a new object with a view controller from my Storyboard.

相关标签:
4条回答
  • 2021-02-19 05:11

    Try to use storyboard ID that different from real UIViewController class name.

    0 讨论(0)
  • 2021-02-19 05:12

    I was able to fix this by doing a "Reset Content and Settings" in the IPhone Simulator.

    0 讨论(0)
  • 2021-02-19 05:18

    Running it in simulator:

    Try Simulator -> Reset Content and Settings

    On Device

    Try deleting and reinstalling the app

    0 讨论(0)
  • 2021-02-19 05:23

    Open your .xib file for this controller and right click on "File Owner" and check if you have connected any wrong property or outlets. You will find a small yellow icon on the right side of outlet if it is a wrong one. Just remove that and try.

    0 讨论(0)
提交回复
热议问题