I embedded a UITableViewController inside a containerview because I wanted a static table underneath a UItoolbar to create something that resembled a form.
The embedded UITableView has its own custom class that extends UITableViewController and everything runs and looks good, but as soon as I link the storyboard with the container view to a custom class, it crashes with the error message
2015-03-02 08:25:07.294 Sibylv1[61227:9234255] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: '-[UITableViewController loadView] loaded the "agw-ry-iRx-view-7qs-Ll-Xii"
nib but didn't get a UITableView.'
Do I need to do some kind of special initialisation of the embedded view inside the main(parent?) view controller?
Also if one of the buttons I have is to submit the form data in the embedded UITableViewController, how am I able to see this data in the main vc?
Aucun commentaire:
Enregistrer un commentaire