嗨,我对我在这里做错的事情束手无策。有没有人经历过类似的事情?我检查了苹果开发者论坛,谷歌,堆栈溢出,找不到任何东西。
MyViewController *myView;
myView = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
//or myView = [[MyViewController alloc]init];
UIPopoverController *popover;
popover = [[UIPopoverController alloc] initWithContentViewController:myView]; //always crash at here
//i've tried with some others ViewController but it's still crash.
非常感谢。