iphone - Collapse when calling dismissModalViewController in tableView:didSelectRowAtIndexPath -


I use this to show the table view in the function of the original view of the table:

 < Code> - (IBAction) someFunc {UITableViewController * controller = [[UITableViewController alloc] init]; [Self current model view controller: controller]; After calling the Model View Controller in [CONTROLL RELEASE]}   

and UITableView tableView: didSelectRowAtIndexPath method, parents The second one will show the scene and then the program falls.

Run underneath the debugger, look at the console could probably have nothing left in the view of the original view of the table Put a BreakPoint Willflower and SeeDeeper (maybe later). There is a possibility to refer to an object which was released.

Comments