[iPad]在popover弹出的navigationController的view中,怎么取到popoverController指针
big_d 2010-09-10 10:45:31 UIViewController* viewController = [[UIViewController alloc] init];
......
UINavigationController* navcontroller = [[UINavigationController alloc] initWithRootViewController:viewController];
UIPopoverController* aPopover = [[UIPopoverController alloc] initWithContentViewController:navcontroller];
[aPopover presentPopoverFromBarButtonItem:buttonID permittedArrowDirections:arrowDirections animated:YES]; //弹出popoverView
前提: 不要给viewController 传递 PopoverController的指针,因为某种原因。
如何在viewController中获得PopoverController的指针
我在viewController中用
self.navigationController.parentViewController ,但是发现不能找到这个指针,
请问如何访问到这个指针。