【发布时间】:2011-04-21 01:33:22
【问题描述】:
当我在 iPad 中的纵向视图和横向视图 (&Vice Versa) 之间切换时,我的弹出视图的位置会出现乱码。这是我计算弹出视图框架的方法:
aRect = self.myElement.frame;
aRect.origin.x += aRect.size.width;
[aPopOver presentPopoverFromRect:aRect inView:self.myElement.superview permittedArrowDirections:UIPopoverArrowDirectionRight animated:YES];
请告诉我这里出了什么问题?
【问题讨论】:
标签: iphone objective-c ipad uipopovercontroller