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 showing messages in one project #27

Closed
ssalatic opened this issue Mar 14, 2014 · 2 comments · Fixed by #28
Closed

Not showing messages in one project #27

ssalatic opened this issue Mar 14, 2014 · 2 comments · Fixed by #28

Comments

@ssalatic
Copy link

I've tested the notifications (copied Classes folder) in one demo project and it worked flawlessly. After that I decided to try it out in the main project I'm working on, and it simply doesn't show messages. I did some debugging, and realized that showNextMessage is being called, and the message queue works just fine, but the messages are not visible. I've also tested the messages from every possible view in the app. Any ideas what might be stopping the messages from showing?

I'm not sure if I should be asking this here, but I couldn't find anything that might be blocking it, so I thought you might want to know.

@terryworona
Copy link
Owner

Can you paste some sample code? Or create a sample project with the issue and drop me the link?

Messages are presented on the main UIWindow. Are you doing anything special to this instance in your project?

@ssalatic
Copy link
Author

I haven't touched the main UIWindow so I'm not sure what might be causing it to not show. I'm not sure what sample code to send you, since I'm just calling regular methods like in the demo.

I've found a workaround, but I would really prefer if I got it to work like it should. Since my whole app is in UITabBar, I saved that view in TWMessageBarManager, and when showNextMessage is called, I add it as subview to my view. I realize that this is not the way it should function, but it's working for now.

Also, the only thing that might interfere with the TWMessageBarManager might be the chat head library I'm using (https://github.com/brutella/chatheads), since I see it is also working with UIWindow, however I'm calling TWMessageBarManager before chat heads are even initialized.

ChrisGrant pushed a commit to ChrisGrant/TWMessageBarManager that referenced this issue Mar 18, 2014
@ChrisGrant ChrisGrant mentioned this issue Mar 18, 2014
terryworona added a commit that referenced this issue Mar 18, 2014
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

Successfully merging a pull request may close this issue.

2 participants