pop = [[UIPopoverController alloc] initWithContentViewController:popoverView];
pop.delegate = self; //optional
CGSize size = CGSizeMake(300, 100); // size of view in popover…V2
pop.popoverContentSize = size;
[pop presentPopoverFromRect:control.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
Youtube 链接:http ://www.youtube.com/watch?v=1iykxemuxbk 它在模拟器中运行良好,但在 iPhone 上运行时崩溃。我可以很容易地在 iPad 上实现这么多文章,但在 iPhone 上却找不到富有成果的文章。请帮忙