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

the messages do not show when called recursively #270

Open
santoshbagalkot opened this issue Feb 9, 2016 · 1 comment
Open

the messages do not show when called recursively #270

santoshbagalkot opened this issue Feb 9, 2016 · 1 comment

Comments

@santoshbagalkot
Copy link

we are using tsmessage library to display no network message with a tap to retry button. within the handler of the retry button we reload the viewController using a call to viewDidAppeare() . The problem is that after a retry when the request fails the message do not display on the screen again, the log shows that the request is made and it has failed also the statement to show the message is called. The message display works when we deselect the current tab and reselect the same tab again inside the handler of the retry button. please help us solve this problem if it is in any way related to this library

thanks
santosh

@mdcarter1
Copy link

@santoshbagalkot try calling TSMessage.dismissActiveNotification() in the button block prior to requesting the TSMessage be shown again. TSMessage isn't displaying your message because it sees it as a duplicate.

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