Change Text Color of Items in UIActionSheet – iOS 8

There’s an easy way if you still want to use UIActionSheet instead of UIAlertController in order to support older iOS versions. UIActionSheet actually uses UIAlertController in iOS 8, and it has a private property _alertController. SEL selector = NSSelectorFromString(@”_alertController”); if ([actionSheet respondsToSelector:selector]) { UIAlertController *alertController = [actionSheet valueForKey:@”_alertController”]; if ([alertController isKindOfClass:[UIAlertController class]]) { alertController.view.tintColor = … Read more

tech