Popover icon indicating copy to clipboard operation
Popover copied to clipboard

Question : change size of the Popover

Open turk-jk opened this issue 7 years ago • 1 comments

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

turk-jk avatar Apr 05 '18 14:04 turk-jk

I have same needs actually.

Maxatma avatar Jun 11 '18 14:06 Maxatma