Minor fix

This commit is contained in:
Alexey Savin 2016-03-16 19:55:49 +03:00
parent a24bd2f297
commit e2bce07b36
2 changed files with 10 additions and 3 deletions

View File

@ -10,8 +10,6 @@
#import <UIKit/UIKit.h>
#import "TLYShyNavBarFade.h"
@class TLYShyViewController;
@protocol TLYShyNavBarManagerDelegate;
/** CLASS DESCRIPTION:
@ -77,7 +75,7 @@
*/
@property (nonatomic, weak) id<TLYShyNavBarManagerDelegate> delegate;
@property (nonatomic, strong, readonly) TLYShyViewController *navBarController;
@property (nonatomic) BOOL handleStatusBar;
- (void)expand;

View File

@ -216,6 +216,15 @@ static void * const kTLYShyNavBarManagerKVOContext = (void*)&kTLYShyNavBarManage
self.extensionController.sticky = stickyExtensionView;
}
- (BOOL)handleStatusBar
{
return self.navBarController.handleStatusBar;
}
- (void)setHandleStatusBar:(BOOL)handleStatusBar
{
self.navBarController.handleStatusBar = handleStatusBar;
}
#pragma mark - Private methods