diff --git a/Library/JCNotificationBannerView.m b/Library/JCNotificationBannerView.m index b037b23..09cd015 100644 --- a/Library/JCNotificationBannerView.m +++ b/Library/JCNotificationBannerView.m @@ -85,6 +85,8 @@ - (void) drawRect:(CGRect)rect { } - (void) layoutSubviews { + [super layoutSubviews]; + if (!(self.frame.size.width > 0)) { return; } BOOL hasTitle = notificationBanner ? (notificationBanner.title.length > 0) : NO;