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

Not working for App Extensions #44

Closed
romaincointepas opened this issue Mar 24, 2015 · 1 comment
Closed

Not working for App Extensions #44

romaincointepas opened this issue Mar 24, 2015 · 1 comment

Comments

@romaincointepas
Copy link

Because [UIApplication sharedApplication] is not accessible in app extensions.

The common way of solving this is adding a macro "APP_EXTENSION=1" for the app extension target and checking for it.

It seems you only use it for status bar purposes. You should know that status bar behaves really weird in app extensions (inherit parent app behavior, NOT customizable), so not trying to define/style it if in an app extension would work.

@romaincointepas
Copy link
Author

Thanks for the fix!

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