I have a UIPopOverController for which the content controller is a UINavigationController. I resize the popover to fit the size of the contents of the controller that popped / popped into it. First I introduce a popover using a method presentPopoverFromRect:inView:permittedArrowDirections:animated:. The snap position indicates the center of the rectangle that I passed as an argument. If I click on the controller (whose content size is small) in the navigationController, the popover shrinks from below and moves above the rectangle that I mentioned earlier.
I tried to imagine a popover every time (for push / pop), the anchor position remains the same point. But the animation does not look good.
what needs to be done so that the position of the binding remains the same, regardless of the size change of the popover change?
source
share