Skip to content

Add support for app extensions - #73

Open
PatrickNLT wants to merge 2 commits into
sammcewan:masterfrom
PatrickNLT:master
Open

Add support for app extensions#73
PatrickNLT wants to merge 2 commits into
sammcewan:masterfrom
PatrickNLT:master

Conversation

@PatrickNLT

Copy link
Copy Markdown

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
Copy Markdown
Author

Would you consider merging this pull request?

@vitalys

vitalys commented Dec 2, 2015

Copy link
Copy Markdown
Collaborator

@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