Skip to content

Conversation

@PatrickNLT
Copy link

WYPopover currently doesn't compile on iOS extensions.

A workaround is to wrap every forbidden call into a #if !defined(WY_APP_EXTENSIONS) macro. This is used in most libraries.

I've been using this fix in production for a few weeks already, it works very well.

@PatrickNLT
Copy link
Author

Would you consider merging this pull request?

@vitalys
Copy link
Collaborator

vitalys commented Dec 2, 2015

@PatrickNLT I'm worried about using UIInterfaceOrientationPortrait for orientation in case of an app extension. How does it work on iPad?

Extension targets that require WYPopoverController should add a reference in their Podfile to 'WYPopoverController/AppExtension', not 'WYPopoverController'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants