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

IOS7 - Toast under UINavigationBar #30

Closed
babidyxp opened this issue Apr 14, 2014 · 2 comments
Closed

IOS7 - Toast under UINavigationBar #30

babidyxp opened this issue Apr 14, 2014 · 2 comments

Comments

@babidyxp
Copy link

Hello,

When we show a toast at position TOP under IOS 7,
The toast is partially hidden by navigation bar.

Is there a way to fix this behavior ?

Thanks

@scalessec
Copy link
Owner

Present the toast in the navigation controller's view instead and it will display on top of the nav bar:

[self.navigationController.view makeToast:@"Hello World" duration:2.0 position:@"top"];

@dentrite
Copy link

The solution works for tabbar controller too.

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

3 participants