diff --git a/ios/RNCSegmentedControl.m b/ios/RNCSegmentedControl.m index 285abbdc..11368cf1 100644 --- a/ios/RNCSegmentedControl.m +++ b/ios/RNCSegmentedControl.m @@ -60,15 +60,6 @@ - (void)setTintColor:(UIColor *)tintColor { __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0 if (@available(iOS 13.0, *)) { [self setSelectedSegmentTintColor:tintColor]; - NSDictionary *attributes = [NSDictionary - dictionaryWithObjectsAndKeys:tintColor, NSForegroundColorAttributeName, - nil]; - NSDictionary *activeAttributes = [NSDictionary - dictionaryWithObjectsAndKeys:UIColor.labelColor, - NSForegroundColorAttributeName, nil]; - [self setTitleTextAttributes:attributes forState:UIControlStateNormal]; - [self setTitleTextAttributes:activeAttributes - forState:UIControlStateSelected]; } #endif }