User can enter left aligned text in a center or right aligned UITextView if the text starts with a blank line.
| Originator: | jdpriestley | ||
| Number: | rdar://15646484 | Date Originated: | 12-Dec-2013 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 7.0.3 |
| Classification: | Reproducible: | Always |
Summary: If a UITextView is edited and the first line is left blank (either by pressing return on the keyboard or setting the text programtically starting with \n) when that line is selected the cursor is aligned to the left and any text entered is left aligned. The rest of the text is left unchanged, centered correctly. Steps to Reproduce: Create a view containing a center aligned UITextView. Start editing the textview and tap return before entering any text. Tap on the first line in the text view. Expected Results: The cursor should still be centered and any text entered should be centered. Actual Results: The cursor is aligned to the left of the text view and any text entered is left aligned, pressing return will mean the new line is left aligned.
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!