开发者

UIPopoverController: How to move it?

I want to move a UIPopoverController. The only way I found开发者_JAVA百科 was calling [popover presentPopoverFromRect...] with the new position in view.

This actually moves it but doesnt goes exactly where I want, I am using UIPopoverArrowDirectionAny.

There is any other option?


Using [popover presentPopoverFromRect...] is the correct way to move a UIPopoverController as the Technical Q&A document http://developer.apple.com/library/ios/#qa/qa1694/_index.html. If you have an exactly position for your popover, I think you should have an exactly UIPopoverArrowDirection other than using UIPopoverArrowDirectionAny. This may effect to the position of popover.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜