You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using TSMessages to show a notification when the network connection is lost.
The notification is being added to a Navigation Controller (that has a nav Bar) and holds a table view.
What I would like to do is change the contentInset of the tableview, when the Notification is shown. Is there a way I can access the height of the displayed Notification (or notifications if multiple are shown) ?
Secondly, is there a way to get a reference to what notification is being shown. For example, if I show one as a note to the user and one as a warning I need to determine when the warning one is being shown. I cannot check against title as I am using localisation so the title string would be different depending on the language.
The text was updated successfully, but these errors were encountered:
It sounds like most of your wished functionality is not possible with the current TSMessages "API".
I guess the best solution for you would be a fork where you add the feature you need and hand in a pull request for each individual feature.
I am using TSMessages to show a notification when the network connection is lost.
The notification is being added to a Navigation Controller (that has a nav Bar) and holds a table view.
What I would like to do is change the contentInset of the tableview, when the Notification is shown. Is there a way I can access the height of the displayed Notification (or notifications if multiple are shown) ?
Secondly, is there a way to get a reference to what notification is being shown. For example, if I show one as a note to the user and one as a warning I need to determine when the warning one is being shown. I cannot check against title as I am using localisation so the title string would be different depending on the language.
The text was updated successfully, but these errors were encountered: