This repository was archived by the owner on Nov 8, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |s |
22
33 s . name = "MSSTabbedPageViewController"
4- s . version = "0.3.10 "
4+ s . version = "0.3.11 "
55 s . summary = "A custom container UIViewController which provides a simple to implement page view controller with scrolling tab bar"
66
77 s . description = <<-DESC
Original file line number Diff line number Diff line change 1010
1111CGFloat const MSSStandardBarHeightInvalid = -1 .0f ;
1212
13+ #define MSS_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO (v ) ([[[UIDevice currentDevice ] systemVersion ] compare: v options: NSNumericSearch] != NSOrderedAscending)
14+
1315@interface MSSCustomHeightNavigationBar ()
1416
1517@property (nonatomic , assign ) CGFloat standardBarHeight;
@@ -43,8 +45,7 @@ - (void)baseInit {
4345- (void )layoutSubviews {
4446 [super layoutSubviews ];
4547
46- NSArray *classNamesToReposition = @[@" _UINavigationBarBackground" ];
47-
48+ NSArray *classNamesToReposition = MSS_SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO (@" 10.0" ) ? @[@" _UIBarBackground" ] : @[@" _UINavigationBarBackground" ];
4849 for (UIView *view in [self subviews ]) {
4950
5051 if ([classNamesToReposition containsObject: NSStringFromClass ([view class ])]) {
You can’t perform that action at this time.
0 commit comments