-
Notifications
You must be signed in to change notification settings - Fork 191
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
Comments
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? |
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. |
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.
The text was updated successfully, but these errors were encountered: