Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
Merge branch 'release/0.3.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
msaps committed Apr 24, 2017
2 parents e93fd8d + 7d15b10 commit 053b2ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MSSTabbedPageViewController.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "MSSTabbedPageViewController"
s.version = "0.3.10"
s.version = "0.3.11"
s.summary = "A custom container UIViewController which provides a simple to implement page view controller with scrolling tab bar"

s.description = <<-DESC
Expand Down
5 changes: 3 additions & 2 deletions Source/Utilities/MSSCustomHeightNavigationBar.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

CGFloat const MSSStandardBarHeightInvalid = -1.0f;

#define MSS_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)

@interface MSSCustomHeightNavigationBar ()

@property (nonatomic, assign) CGFloat standardBarHeight;
Expand Down Expand Up @@ -43,8 +45,7 @@ - (void)baseInit {
- (void)layoutSubviews {
[super layoutSubviews];

NSArray *classNamesToReposition = @[@"_UINavigationBarBackground"];

NSArray *classNamesToReposition = MSS_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"10.0") ? @[@"_UIBarBackground"] : @[@"_UINavigationBarBackground"];
for (UIView *view in [self subviews]) {

if ([classNamesToReposition containsObject:NSStringFromClass([view class])]) {
Expand Down

0 comments on commit 053b2ea

Please sign in to comment.