Open maciekish opened 9 years ago
Hi, I added a new method to my fork:
- (void)setPopoverContentSize:(CGSize)size animated:(BOOL)animated { popoverContentSize_ = size; [self positionPopover:animated]; }
However positionPopover: seems to be ignoring the animated property and the frame change of the popover background gets animated anyway. How do i do this properly?
positionPopover:
Turns out there is a KVO that fires when the size of the contentViewController changes which has animation.
I created a method that allows one to do such viewController changes without animation if desired
https://github.com/sammcewan/WYPopoverController/pull/33
Hi, I added a new method to my fork:
However
positionPopover:
seems to be ignoring the animated property and the frame change of the popover background gets animated anyway. How do i do this properly?