In presentPopoverFromRect:inView:permittedArrowDirections:animated:
, method of UIPopoverViewController
, for "presentPopoverFromRect
", what I have understood is that "x
" and "y
" are where it will point its anchor but what "width
" and "height
" parameter will do?
I am playing with them by setting different values and result is very confusing.
Call the setPopoverContentSize:animated:
method on your UIPopoverController
object, and that will set the height and width of your popover.
The position of the UIPopoverController is controlled by the presentPopoverFromRect:inView:permittedArrowDirections:animated:
method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With