So, I have a setup where an UIPopoverController presents information at the cursor in a text view. When the cursor moves, I present it again. But this is jarring, and I’d like for the popover to move in a smooth, animated fashion. Will I really have to do that manually by using a series of presentFromRect calls, or is there a better way?
So, I have a setup where an UIPopoverController presents information at the cursor in
Share
Unfortunately
UIPopovers are not designed to be moved around like that.The only way to do that without presenting it all over again is to write your own
UIPopoverreplacement and animate its position using the standardCAAnimationorUIKitanimation techniques.