Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Rolled back changes regarding displaying the the extended nav bar in a modal #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions TLYShyNavBar/ShyControllers/TLYShyStatusBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ static inline CGFloat AACStatusBarHeight(UIViewController *viewController)
}

// Modal views do not overlap the status bar, so no allowance need be made for it
if (viewController.presentingViewController != nil)
{
return 0.f;
}

CGSize statusBarSize = [UIApplication sharedApplication].statusBarFrame.size;
CGFloat statusBarHeight = MIN(statusBarSize.width, statusBarSize.height);

Expand Down
4 changes: 1 addition & 3 deletions TLYShyNavBar/TLYShyNavBarManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

@interface TLYShyNavBarManager () <UIScrollViewDelegate>

@property (nonatomic, strong) TLYShyStatusBarController *statusBarController;
@property (nonatomic, strong) id<TLYShyParent> statusBarController;
@property (nonatomic, strong) TLYShyViewController *navBarController;
@property (nonatomic, strong) TLYShyViewController *extensionController;
@property (nonatomic, strong) TLYShyScrollViewController *scrollViewController;
Expand Down Expand Up @@ -137,8 +137,6 @@ - (void)setViewController:(UIViewController *)viewController

self.navBarController.view = navbar;

self.statusBarController.viewController = viewController;

[self layoutViews];
}

Expand Down