-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ActionSheetIOS text tint color #3374
Comments
Hmmm - we should probably look at changing ActionSheetIOS's current implementation as it currently relies on UIActionSheet which was deprecated in iOS8. https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIActionSheet_Class/index.html changing the tint colour is trivial if we rely upon UIAlertController instead. |
@admmasters Actionsheet with UIAlertcontroller has been implemented. I played around a bit with setting the tint color on both action sheet and alert and it seems fairly straightforward. Just need to find a good way to expose this as props. If anyone else manages to tackle this before me, make sure to set the tintColor AFTER presenting the view to the user. If not, the highlight tint of the buttons defaults back to blue regardless of the custom tintColor set. |
Summary: Closes #3374 Closes facebook/react-native#4590 Reviewed By: javache Differential Revision: D2729616 Pulled By: mkonicek fb-gh-sync-id: 4a3b6de10a09cad73dbd9d5d552adc3f6ba054e0
Enhancement Suggestion - text tint color prop for ActionSheetIOS
The text was updated successfully, but these errors were encountered: