首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >iOS 8- UIPopoverPresentationController移动弹出窗口

iOS 8- UIPopoverPresentationController移动弹出窗口
EN

Stack Overflow用户
提问于 2014-06-28 00:52:59
回答 6查看 11.4K关注 0票数 20

我正在寻找一种有效的方法来使用新的uipopoverpresentationcontroller控制器来重新定位popover。我已经成功地展示了popover,现在我想移动它,而不是忽略和再次展示。我在使用这个函数时遇到了问题:

代码语言:javascript
复制
(void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController
      willRepositionPopoverToRect:(inout CGRect *)rect
                           inView:(inout UIView **)view

我知道这是游戏的早期阶段,但是任何人都有一个如何有效地做到这一点的例子,如果你能与我分享,我将不胜感激。提前谢谢。

EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24457063

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档