Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : change size of the Popover #106

Open
turk-jk opened this issue Apr 5, 2018 · 1 comment
Open

Question : change size of the Popover #106

turk-jk opened this issue Apr 5, 2018 · 1 comment

Comments

@turk-jk
Copy link

turk-jk commented Apr 5, 2018

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

@Maxatma
Copy link

Maxatma commented Jun 11, 2018

I have same needs actually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants