Can't get UILabel to render monospaced numerals when linking agaist iOS 9 SDK

Originator:samuel.mellert
Number:rdar://21402564 Date Originated:16-Jun-2015 05:36 PM
Status:Closed Resolved:Resolved with Xcode 7 beta 4
Product:iOS SDK Product Version:iOS 9.0 SDK
Classification:UI/Usability Reproducible:Always
 
Summary:
In "WWDC2015 804 - Introducing the New System Fonts" there was some lengthy explanation on how the new SF font defaults to proportional number rendering instead of monospaced rendering. Also there was mentioning of NSFont.monospacedDigitsSystemFontOfSize(mySize weight:) which seems to be missing it's UIKit counterpart on UIFont.

Steps to Reproduce:
Try setting a font with monospaced digit rendering UILabel is not possible, since UIFont doesn't have a method to create such an object. Also UILabel doesn't have a property to configure the desired numeral rendering mode.

Expected Results:
UILabel is capable of displaying monospaced numerals.

Actual Results:
UILabel only displays proportionally spaced numerals on apps linked against iOS 9 SDK.

Regression:
Running an App with target iOS 9 on Xcode 7.0 beta (7A120f) on OS 10.10

Notes:
No workaround found so far.

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!