Search code examples
ipaduipopovercontroller

UIPopOver and orientation change


In my app I have 3 UIPopOvers. They appear when user taps buttons in the toolbar. I need to make the popovers appear in the correct place when user rotates iPad if the popover is already opened (like the -willAnimateRotationToInterfaceOrientation:).

How can I do it?

Thanks in advance!


Solution

  • The only solution I've found so far is just closing the popover when the device is rotated/