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

Set custom notification height #103

Open
kovalskyy opened this issue Jun 12, 2017 · 1 comment
Open

Set custom notification height #103

kovalskyy opened this issue Jun 12, 2017 · 1 comment

Comments

@kovalskyy
Copy link

kovalskyy commented Jun 12, 2017

I have been trying to set custom height of my .xib view for notification, but it's still covering whole navigation bar. It's not even stopping at breakpoints when view is loaded.

I set those in my viewDidLoad method:

self.window = [CWWindowContainer new];
self.window.notificationHeight = 40.0f;

Any suggestions what am I doing wrong?

@javrudsky
Copy link

javrudsky commented Oct 18, 2017

I've changed the notification bar height using "notificationLabelHeight" property from CWStatusBarNotification.
A little bit late, but hope this helps.

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