FeedbackViewController *feedbackViewController = [[FeedbackViewController alloc]initWithNibName:@"FeedbackViewController" bundle:nil]; app
UINavigationController *navigationController = [[UINavigationControlleralloc] initWithRootViewController:feedbackViewController]; 測試
[self presentModalViewController:navigationController animated:YES]; this
[self dismissModalViewControllerAnimated:YES]; spa
2012-12-27 14:01:23.666 WTV[1627:11303] -More--viewWillDisappear---- orm
2012-12-27 14:01:23.672 WTV[1627:11303] -Feed--viewWillAppear---- 對象
2012-12-27 14:01:24.086 WTV[1627:11303] -Feed--viewDidAppear---- 接口
2012-12-27 14:01:24.087 WTV[1627:11303] -More--viewDidDisappear---- ci
2012-12-27 14:01:25.745 WTV[1627:11303] -Feed--viewWillDisappear---- 開發
2012-12-27 14:01:25.745 WTV[1627:11303] -More--viewWillAppear---- 編譯器
2012-12-27 14:01:26.156 WTV[1627:11303] -More--viewDidAppear----
2012-12-27 14:01:26.157 WTV[1627:11303] -Feed--viewDidDisappear----
- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated;
- (void)dismissModalViewControllerAnimated:(BOOL)animated;
[self presentViewController:navigationController
animated:YES
completion:^(void){
// Code
}];
[self dismissViewControllerAnimated:YES
completion:^(void){
// Code
}];