frankdilo / FDStatusBarNotifierView

A notifier view for iOS that resides in the status bar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Status bar disappears instead of being replaced

guidomb opened this issue · comments

When I display a notification the status bar disappears and the animation instead of happening over the status bar happens over the navbar.

Here is the status bar before showing the message:
img_1862

Here the status bar disappeared and the notification is drawn over the navbar:
img_1863

For sure I am doing something wrong but I don't know what. I have deselected the "Under Top Bars" option for the TabViewController and added UIViewControllerBasedStatusBarAppearance to the plist.

Any ideas? //cc @onato

I have quickly modified the example project in order to reproduce your configuration (you can grab my modified version here). Everything seems to work fine.

What method are you using to display the status bar message?

To show the message I am using

self.notifierView.message = @"Ready to discover trakrs!";

and initialized notifierView in the viewDidLoad like this self.notifierView = [[FDStatusBarNotifierView alloc] init];

I'm gonna check the example now to find any difference

I created a new project. This time I have a tabviewcontroller, which has in one of its tabs a navigation controller which has table view controller. The problem now is that status bart text and info does not disappear. Any idea about what I am doing wrong?

status_screen

I am having the same issue. Using iOS 7.

Same issue here. iOS 7.

Same issue here. iOS 7 as well.

Same issue, iOS7.

I've found the problem. It's a dumb one actually.

You are probably not using the latest version of the project because apparently the spec in the CocoaPods' repo is not update. Fixing that right now.

Sorry if I wasted your time.

Using the latest version on github, still have the same issue

@guidomb Turn out that you have to set UIViewControllerBasedStatusBarAppearance to No in info.plist