You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Handling popover controllers during orientation changes
160
160
161
+
---
162
+
161
163
When showing a popover controller, there are times when you will need to handle how the popover controller appears after a change in device orientation.
162
164
163
165
Situations when handling is required:
164
166
165
-
* If the popover controller is presented from a target rectangle using the `-presentPopoverFromRect:inView:permittedArrowDirections:animated` method of UIPopoverController.
167
+
* If the popover controller is presented from a target rectangle using the `-presentPopoverFromRect:inView:permittedArrowDirections:animated` method of WYPopoverController.
166
168
* If the popover controller is presented from a bar button item that is removed after the rotation has finished.
0 commit comments