atljeremy / JFMinimalNotifications

An iOS UIView for presenting a minimalistic notification that doesn't block the UI and is highly configurable.
MIT License
942 stars 99 forks source link

Notification being displayed under the tabbar/navigationbar #33

Closed EssamEmad closed 2 weeks ago

EssamEmad commented 8 years ago

Awesome library, but I had one issue. When I display the notification in a TabbarViewController the notification gets displayed under the tabbar. I also tried adding it to the tableview instead of the parent view, it didn't get dismissed automatically although I added the dismissalDelay parameter.

Black-Colt commented 8 years ago

I think thats why you have edgePadding:

In navigation controller you need to add his height and 15 Like this: self.minimalNotification.edgePadding = UIEdgeInsetsMake(self.navigationController.navigationBar.frame.size.height + 15, 0, 0, 0);

atljeremy commented 8 years ago

Yep, adding additional edgePadding should address your issue @EssamEmad