Text jumps in UITextField when using custom font
| Originator: | kpa | ||
| Number: | rdar://21794005 | Date Originated: | |
| Status: | Duplicate (7754453) | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Reproducible: | Always |
Summary: When a textfield, with a custom font, becomes first responder the text jumps up slightly. When it resign firsts responder the text again jumps down slightly. Steps to Reproduce: 1. Create a textfield 2. Set a custom font (e.g. Papyrus, 13.0) Expected Results: The text not to jump when I start/stop editing Actual Results: The text jumps Notes: Some suggestions on StackOverflow said that the problem doesn’t occur when the UITextField is initialized in code. The second tab in the sample project shows that this isn’t true. The order in which the text and custom font are set also doesn’t matter.
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!
Apple Developer Relations
Engineering has determined that your bug report is a duplicate of another issue and will be closed.
The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.
If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.