Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add property to hide the statusbar #46

Merged
merged 1 commit into from
Apr 25, 2014
Merged

add property to hide the statusbar #46

merged 1 commit into from
Apr 25, 2014

Conversation

Leandros
Copy link
Contributor

No description provided.

terryworona added a commit that referenced this pull request Apr 25, 2014
add property to hide the statusbar
@terryworona terryworona merged commit f89534b into terryworona:master Apr 25, 2014
@terryworona
Copy link
Owner

Hey @Leandros, I modified your implementation to instead pass through a statusBarHidden bit via two new functions (commit: 4ca542a):

- (void)showMessageWithTitle:(NSString *)title description:(NSString *)description type:(TWMessageBarMessageType)type statusBarHidden:(BOOL)statusBarHidden callback:(void (^)())callback;

- (void)showMessageWithTitle:(NSString *)title description:(NSString *)description type:(TWMessageBarMessageType)type duration:(CGFloat)duration statusBarHidden:(BOOL)statusBarHidden callback:(void (^)())callback;

This allows you to control the visibility of a status bar on a per-message basis and avoids maintaining state behavior across multiple presentations.

Hope this helps.

@Leandros
Copy link
Contributor Author

Amazing! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants