我正在寻找一种使用新的UIPopoverPresentationController重新定位弹出窗口的有效方法。 我已经成功地呈现了弹出窗口,现在我想移动它而不用关闭再重新呈现。 我在使用函数时遇到了问题:
(void)popoverPresentationController:(UIPopoverPresentationController *)popoverPresentationController
willRepositionPopoverToRect:(inout CGRect *)rect
inView:(inout UIView **)view
我知道现在还比较早,但如果有人能提供一个高效的方法示例,我会非常感激。先谢谢了。