【发布时间】:2013-10-29 22:50:23
【问题描述】:
我有一个UIActionSheet,它在 iPad 上显示为UIPopoverController。我正在尝试通过使用 UIButton 来展示它:
[self.exampleActionSheet showFromRect:self.exampleButton.frame inView:self.view animated:YES];
我现在要做的是在方向改变时重新定位这个UIActionSheet。但是当我在屏幕旋转后使用上面的代码重新定位时,它不会这样做。谁能告诉我如何正确地做到这一点?
【问题讨论】:
标签: ios objective-c ipad uiactionsheet