【发布时间】:2013-01-06 18:03:04
【问题描述】:
我在UIMapView 中的UIPopover 中显示detailView.xib。
我的DetailView.xib 是:
但是当我尝试在弹出窗口中查看时,它显示为:
我的代码如下:
detailsView *popUp=[[detailsView alloc] initWithNibName:@"detailsView_ipad" bundle:nil];
popView = [[UIPopoverController alloc]initWithContentViewController:popUp];
popView.delegate =self;
[popView setPopoverContentSize:CGSizeMake(600, 400)];
[popView presentPopoverFromRect:control.frame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
如何在UIPopover中显示实际的xib??
【问题讨论】:
标签: iphone ios xcode popup autoresize