Hi guys i have a problem with UITableView,
almost one week i am trying that and i am really tired .)
i cant open a UIModal Presentation form sheet from tableview.
only opening full screen modal view, not pagesheep.
what i must to do fot that?
here my code in didSelectRow
Like that opening a viewcontroller, but i am not sure that i mine. Because when working there is dont have any object what is have in desing time.
Code:
viewDetail *hd = [[viewDetail alloc] init];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:hd];
hd.modalPresentationStyle = UIModalPresentationFormSheet;
[self.navigationController presentModalViewController:nav animated:YES];
[hd release];
[nav release];
when trying to open with that
Code:
viewDetail *hd = [[viewDetail alloc] initWithNibName:@"viewDetail" bundle:nil];
then time SIGABRT error
note : i am using xcode 4.2 with storyboard features