Compare commits

...

1 Commits

Author SHA1 Message Date
Cezary Wojcik b87af9f288 2.2.6 2015-05-12 12:17:28 -07:00
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CWStatusBarNotification"
s.version = "2.2.5"
s.version = "2.2.6"
s.summary = "A library that creates status bar notifications."
s.description = "CWStatusBarNotification is a library allows you to present a beautiful text-based notification in the status bar."
s.homepage = "https://github.com/cezarywojcik/CWStatusBarNotification"
@@ -61,6 +61,12 @@
return self._cwViewControllerSupportedInterfaceOrientation;
}
- (BOOL)prefersStatusBarHidden
{
CGFloat statusBarHeight = [[UIApplication sharedApplication] statusBarFrame].size.height;
return !(statusBarHeight > 0);
}
@end
# pragma mark - dispatch after with cancellation
+1 -1
View File
@@ -18,7 +18,7 @@ Works for iPhone and iPad.
### CocoaPods
`pod 'CWStatusBarNotification', '~> 2.2.5'`
`pod 'CWStatusBarNotification', '~> 2.2.6'`
### Manual