When you first launch the iphone application crashes

Just wondering why my new application crashes the first time it launches on my iPod, but it works every time after that. I am fully developing storyboards, and still I have no code. Can someone please tell me how to fix the crash the first time I open my application?

+3
source share
1 answer

If you use the application in Xcode (connecting your device), you can add a breakpoint from Xcode. In the left pane, click on the breakpoint panel, click "+" to add an exception breakpoint ...

This will stop your application code, at least you should have some controller codes associated with your layouts.

enter image description here

+1

All Articles