UITextView spell checking dots should be drawn according to the content scale when inside a scroll view
||Date Originated:||17-Feb-2017 09:55 AM|
||Product Version:||iOS 10.2|
When placing a UITextView inside a UIScrollView that has zooming enabled, and then updating the content scale for the subviews in the text view so that text is rendered sharp and clear when zoomed in, this has no effect on the spell checking dots.
Steps to Reproduce:
- Open the sample
- Type something that produces spell checking errors
- The dots are rendered clear like the text
- The dots are rendered blurry and pixelated
The ideal behavior would be if the text view could automatically detect if it is in a scroll view and update its content scale, however I see how this is a violation of the parent-child relationship. The second best option would be if we could just set the content scale on the text view itself. And given that all the subviews of the text view are private that seems to be the thing that ideally should work. No matter where we should set that value though, the spell checking dots should respect this and draw a sharp circle.
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!