Global tintColor of white causes invisible cursor in UITextView

Originator:andrew
Number:rdar://16766935 Date Originated:30/4/2014
Status: Resolved:
Product:Xcode/iOS Product Version:Xcode 5.1.1/iOS 7.1.1
Classification:Usability Reproducible:Always
 
Setting the global tint colour to white in a Storyboard results in a UITextView with a white (i.e. invisible) cursor.

Steps to reproduce

1. Create a new app
2. Set Storyboard global tint colour to white
3. Add a text view to view controller and set it to become first responder.
4. Run the app
5. Observe cursor is not visible
6. Change the tintColor of the UITextView in the storyboard to be blue
7. Re-run project, observe cursor is now visible

Expected Results

In the case where the global tintColor is white and the background colour of the text view is white, UITextView should do one of the following:

- default back to the default blue tintColor colour

- at least log a warning to the console so it’s clear to the developer why the cursor is not showing up


Actual Results:

Invisible cursor, with no warning or explanation

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!