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

TSMessages in not working in iOS extensions #249

Open
arturmichna opened this issue Sep 4, 2015 · 2 comments
Open

TSMessages in not working in iOS extensions #249

arturmichna opened this issue Sep 4, 2015 · 2 comments

Comments

@arturmichna
Copy link

CGSize statusBarSize = [UIApplication sharedApplication].statusBarFrame.size;

according to iOS specification You can't use [UIApplication sharedApplication] in app extensions. While trying to use TSMessages lib in extension it won't compile.

@ShikharTeamie
Copy link

Facing the same problem.
@arturmichna - were you able to fix this at your end?

@arturmichna
Copy link
Author

We currently use another library.
If you want to fix this, you will need to remove all references to UIApplication in TSMessage or write a wrapper on this class to avoid linking to extension and show notifications in other way

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