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

Centering custom subview in popover #71

Open
carlb0329 opened this issue May 25, 2017 · 0 comments
Open

Centering custom subview in popover #71

carlb0329 opened this issue May 25, 2017 · 0 comments

Comments

@carlb0329
Copy link

carlb0329 commented May 25, 2017

I'm using a custom view that I instantiate from a nib. I pass the custom view into the popover, but the custom view doesn't center inside of the popover, instead it's anchored into the top left corner of the popover's container view. I can't seem to get my custom view to center inside the popover view. I've tried setting the center in the willShow and didShow handlers.

Is there any way to center my custom view before the popover is shown?

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

1 participant