NSAttributedString superscripts are not working on iOS 10.3

Originator:adhumi
Number:rdar://31321619 Date Originated:20170329
Status:open Resolved:
Product:iOS Product Version:10.3
Classification: Reproducible:always
 
Area:
UIKit

Summary:
On iOS 10.3, the `kCTSuperscriptAttributeName` attribute of NSAttributedString does not work as expected. The text should be in superscript and is not.

Steps to Reproduce:
- Build the attached project on iOS 10.3
- The "1st" text appear in the label, but with no superscript
- Build the attached project on iOS < 10.3
- The "1st" text appear in the label, with "st" in superscript

Expected Results:
The "1st" text should be displayed, with "st" in superscript

Actual Results:
The "1st" text is displayed, with no superscript

Version:
iOS 10.3

Notes:


Configuration:
Any iOS supported hardware

Comments

This is happening to me as well

By gardenofwine at April 26, 2017, 1:21 p.m. (reply...)

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!