File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -733,7 +733,7 @@ - (CGFloat)heightForTitleLabel
733733 if (self.titleLabel ) {
734734 CGSize size = [self .title sizeWithFont: self .titleLabel.font
735735 minFontSize:
736- #ifndef __IPHONE_6_0
736+ #if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0
737737 self.titleLabel.font.pointSize * self.titleLabel.minimumScaleFactor
738738#else
739739 self.titleLabel.minimumFontSize
@@ -803,7 +803,7 @@ - (void)updateTitleLabel
803803 self.titleLabel .font = self.titleFont ;
804804 self.titleLabel .textColor = self.titleColor ;
805805 self.titleLabel .adjustsFontSizeToFitWidth = YES ;
806- #ifndef __IPHONE_6_0
806+ #if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_6_0
807807 self.titleLabel .minimumScaleFactor = 0.75 ;
808808#else
809809 self.titleLabel .minimumFontSize = self.titleLabel .font .pointSize * 0.75 ;
You can’t perform that action at this time.
0 commit comments