I need to hide a detail view that is shown when clicked on a tableviewitem
- (IBAction)done:(id)sender {
[self.delegate OrderDetailsViewDidFinish:self];
}
It is all connected up with in the, xib and .h but the view doesnot close, it is loaded via this code and loads great:
//Initialize the detail view controller and display it.
OrderDetailsView *dvController = [[OrderDetailsView alloc] initWithNibName:@"OrderDetailsView" bundle:[NSBundle mainBundle]];
dvController.selectedOrder = (@"%@",selectedOrder);
[self presentModalViewController:dvController animated:YES];
[dvController release];
dvController = nil;
the trouble comes when closing it, please not i ahve all the correct .h in the detail view
Thanks
Mason