UITableViewCell resets Dynamic Type font set in Interface Builder
| Originator: | and.mikhaylov | ||
| Number: | rdar://23157171 | Date Originated: | 17-Oct-2015 11:13 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.0 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Basic UITableViewCell resets Dynamic Type font set in Interface Builder after Dynamic Type settings change. Steps to Reproduce: 1. Create dynamic table view controller with basic (not custom) table view cell in interface builder. 2. Assign subhead style font for title label in cell. 3. Run the app. 4. Change Dynamic Type settings in iPhone (Settings -> General -> Accessibility -> Large Text) 5. Go back to app and try adding more new items in data source. You will see cells using different fonts. Expected Results: The same font style as specified in Interface Builder should be used to display title in basic cells even after Dynamic Type settings change. Actual Results: The font selected in Interface Builder is being replaced with body style font. Regression: Notes: It looks like table view cell removes text labels from hierarchy before UIContentSizeCategoryDidChangeNotification notification. Text labels are re-created then but missing fonts information. Static table views designed in Interface Builder suffer much more from that and get completely broken because the information displayed in table view cells is now gone forever.
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!