我的 有问题navigation bar
,当我通过弹出窗口显示它时,我的导航栏被隐藏了,如下所示:
应该是这样的:
我的代码:
self.popoverController =
[[UIPopoverController alloc] initWithContentViewController:imagePickerController];
popoverController.delegate = self;
CGRect popoverRect = [self.view convertRect:[tsuikaButton frame]
fromView:[tsuikaButton superview]];
popoverRect.size.width = MIN(popoverRect.size.width, 100);
[self.popoverController
presentPopoverFromRect:popoverRect
inView:self.view
permittedArrowDirections:UIPopoverArrowDirectionAny
animated:YES];
[popoverController setPopoverContentSize:CGSizeMake(1024, 500)];
谢谢您的帮助。