I found a bug in iOS and I'm wondering if there is a workaround.
If you select a UITextView
with a tint color and while it's selected you display a UIAlertController
such as by tapping on a navigation bar button item the UITextView
loses it's tint color after dismissing the UIAlertController
.
Please see this answer . And also, like +lostAtSeaJoshua said, you can declare a simple method to reset the tint color of your UITextView after executing (or after clicking a confirm button) your UIAlertController.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.