So what I am trying to do here is press a button and it will switch to the next view controller, but the program crashes after I press the button and shows:
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));Thread 1, Queue : com.apple.main-thread
I use segue as push.
When I use segue as modal it doesn't crash.
I did some research online saying "make sure I don't have duplicate relationships"
Is the problem cause by the same name?
I started programming with C# and I know that every control has an ID name, but Xcode doesn't seem to have the ID name.
The two pictures are the relationships of two view controller and one of them is the page that it pops up after the app crashes.