Automatically change popover direction if there is not enough room to display the view in the original direction.
For example, when displaying a popover near the bottom of the view and the popoverType is .down , this will automatically change the direction to .up .
Automatically change popover direction if there is not enough room to display the view in the original direction. For example, when displaying a popover near the bottom of the view and the
popoverType
is.down
, this will automatically change the direction to.up
.