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

Question: Getting the notification height #85

Open
StuartMorris0 opened this issue Nov 29, 2013 · 1 comment
Open

Question: Getting the notification height #85

StuartMorris0 opened this issue Nov 29, 2013 · 1 comment
Labels

Comments

@StuartMorris0
Copy link

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.

@KrauseFx
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants