TSMessages icon indicating copy to clipboard operation
TSMessages copied to clipboard

the messages do not show when called recursively

Open santoshbagalkot opened this issue 8 years ago • 1 comments

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

santoshbagalkot avatar Feb 09 '16 09:02 santoshbagalkot

@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.

mdcarter1 avatar Mar 15 '16 15:03 mdcarter1