Xcode-Beta (6D520o): Custom Fonts in Attributed Strings In Interface Builder Are Lost
| Originator: | wetzeal | ||
| Number: | rdar://19820546 | Date Originated: | 12-Feb-2015 06:26 PM |
| Status: | Duplicate/14236279/Open | Resolved: | Duplicate |
| Product: | Developer Tools | Product Version: | Xcode-Beta (6D520o) |
| Classification: | Serious Bug | Reproducible: | Always |
This is a duplicate of rdar://14236279 If a custom font is used in an attributed string on a UILabel configured via Interface Builder, the label displays using the default font when the application is run. This is misleading, as the custom font is shown in interface builder itself. This issue is present in all versions of Xcode 6, including 6.3 Beta 1 Steps to Reproduce: 1) Add a custom font to an iOS project 2) Create a UILabel in interface builder, and configure its text to be “Attributed” 3) Set the custom font added to the project as the font of the attributed string 4) Build and run The label appears in the simulator without the custom font. This issue only applies to attributed strings. The attached project includes a view with three labels, the first of which exhibits this issue.
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!