Popover
Popover copied to clipboard
Question : change size of the Popover
Hi there, thanks for the great work, I like it very much
just wondering is there any way to change the size of the Popover after it was displayed with some animation.
I can change the view by doing this inside the view inside the popover
let newView = UIView()
guard let sv = self.superview else{ return }
UIView.animate(withDuration: 0.5) {
sv.addSubview(newView)
self.removeFromSuperview()
}
which works fine but I would like to change the size of the popover accordingly from within the view inside the popover
any suggestions or corrections would be appreciated thanks again for the great work
I have same needs actually.