bogus value for UIPreferredContentSizeCategoryName

Originator:keith
Number:rdar://25894152 Date Originated:23-Apr-2016
Status:Duplicate/25303105 (Open) Resolved:
Product:iOS SDK Product Version:9.3
Classification:Other Bug Reproducible:Always
 
Summary:
Running on the iOS 9.3 Simulator. When observing the UIContentSizeCategoryDidChangeNotification notification, changing the preferred content size in the accessibility settings does not call the notification method. The following messaging is displayed on the console:

bogus value for UIPreferredContentSizeCategoryName: (null)

This only happens on the Simulator

Steps to Reproduce:

1) Create a new project using the single view application template
2) In the view controller, add an observer for the UIContentSizeCategoryDidChangeNotification.
3) Run in the iOS 9.3 Simulator
4) Switch to the accessibility settings and change the text size.
5) Switch back to the app

Expected Results:
The notificationSelector of the observer should be called in the view controller

Actual Results:
The notification method in the view controller is never called. The following message is output on the console:

bogus value for UIPreferredContentSizeCategoryName: (null)

Version:
Xcode 7.3, OS X 10.11.4, iOS 9.3

Comments

Thank you! Was teaching a class and text styles weren't updating in the simulator. Knowing it's a bug saved a lot of collective debugging time.


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!