Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated Readme

  • Loading branch information...
commit aded6cc2788b686d94f94220995fa06383008142 1 parent 838e2ad
@frankdilo authored
View
6 FDStatusBarNotifierView.podspec
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "FDStatusBarNotifierView"
- s.version = "0.1.1"
+ s.version = "0.1.2"
s.summary = "FDStatusBarNotifier is a UIView subclass that lets you display notifications using the space in which the status bar resides."
s.homepage = "https://github.com/frankdilo/FDStatusBarNotifierView"
- s.author = { "Francesco Di Lorenzo" => "fradilorenzo92@gmail.com" }
+ s.author = { "Francesco Di Lorenzo" => "fradilorenzo92@gmail.com" }
s.license = { :type => 'MIT', :file => 'LICENSE'}
- s.source = { :git => "https://github.com/frankdilo/FDStatusBarNotifierView.git", :tag => "v0.1.1" }
+ s.source = { :git => "https://github.com/frankdilo/FDStatusBarNotifierView.git", :tag => "v0.1.2" }
s.platform = :ios, '7.0'
s.source_files = 'FDStatusBarNotifierView/*.{h,m}'
View
1  FDStatusBarNotifierView/FDStatusBarNotifierView.h
@@ -22,7 +22,6 @@ extern NSTimeInterval const kTimeOnScreen;
@property id<FDStatusBarNotifierViewDelegate> delegate;
-
- (id)initWithMessage:(NSString *)message;
- (id)initWithMessage:(NSString *)message delegate:(id <FDStatusBarNotifierViewDelegate>)delegate;
View
4 README.md
@@ -10,6 +10,10 @@ It’s as easy to use as `UIAlertView`, here is an example:
FDStatusBarNotifierView *notifierView = [[FDStatusBarNotifierView alloc] initWithMessage:@"Hello!"];
notifierView.timeOnScreen = 3.0; // by default it's 2 seconds
[notifierView showInWindow:self.view.window];
+
+ // or from a view controller with a navigation bar
+ [notifierView showAboveNavigationController:self.navigationController];
+
When you call `showInWindow:` the status bar disappear and the notifier view takes its place with a smooth animation.
Please sign in to comment.
Something went wrong with that request. Please try again.