Skip to content

Commit c763707

Browse files
committed
0.9.17
1 parent 9216f36 commit c763707

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UI7Kit.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = "UI7Kit"
3-
s.version = "0.9.16"
3+
s.version = "0.9.17"
44
s.summary = "UI7Kit is a GUI toolkit to implement iOS7 look & feel UIKit under iOS5/iOS6. It is also supported that patching UIKit to UI7Kit in runtime."
55
s.homepage = "https://github.com/youknowone/UI7Kit"
66
s.screenshots = "https://raw.github.com/youknowone/UI7Kit/master/UI7Kit.png",
77
s.license = "2-clause BSD"
88
s.author = { "Jeong YunWon" => "[email protected]" }
9-
s.source = { :git => "https://github.com/youknowone/UI7Kit.git", :tag => "0.9.16" }
9+
s.source = { :git => "https://github.com/youknowone/UI7Kit.git", :tag => "0.9.17" }
1010

1111
s.platform = :ios, '5.0'
1212
s.header_dir = "UI7Kit"

UI7Kit/UI7SegmentedControl.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ - (void)_backgroundColorUpdated {
117117
}
118118
// NSDictionary *selectedAttributes = @{UITextAttributeTextColor: self.stackedBackgroundColor};
119119
UIColor *tintColor = self.tintColor;
120-
UIColor *whiteColor = [UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:1.0f];
120+
UIColor *whiteColor = [UIColor whiteColor];
121121
NSDictionary *selectedAttributes = @{UITextAttributeTextColor: [tintColor isEqual:whiteColor] ? [UIColor darkTextColor] : self.stackedBackgroundColor};//if tintColor is white, then set selectedColor to darkTextColor
122122

123123
[self setTitleTextAttributes:selectedAttributes forState:UIControlStateSelected];

0 commit comments

Comments
 (0)