iphone - iOS: Problems with a button which is on a UIView located in a UINavigationView which is in a UITabView -


I have a following application structure:

tab - tab 1 - 5. On the tab I Instead of viewing the navigation and having a table view like the following tutorial:

I like to click on a button instead of table view like this tutorial: http: // fuelyourcoding dot com slash I-app -view-switching-tutorial /

I created the application and all the ideas, but when I click on the button to go to the next scene it crashes And I get an error message in Debugger console

... ending the ATM due to the exception exception 'NSInvalidArgumentException', reason: '- [UIImageView copyWithZone:]: Example 0x5d207b0 to unrecognized selector' Sending on ... ... Call stack in the first throw:

When it works just fine with a UINav button and UITB works fine, but as soon as you click the button on the page As soon as I crash, I even use the IBAction that Or had just written a message in the log (NSLog), so I could not find where the main issue is?

Do anyone have any ideas? I would be very grateful for any suggestions thank you

Good, this is an old question and I think it has already been solved, but This is the problem today ... and I hope it can be useful for anyone.

This is just one mistake with a union of connections in the interface builder, you can change the name of an outlet program and connections are still connected to the old name in the interface builder.

Solution: Go to IB and update the Connection of Affected View Controller.


Comments