UITableView doesn't persist dynamic rowHeight
| Originator: | futuretap | ||
| Number: | rdar://18655494 | Date Originated: | 15-Oct-2014 12:13 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.0 |
| Classification: | UI/Usability | Reproducible: | Always |
The standard UITableView with default cell styles does not persist an increased rowHeight due to a change of the UIContentSizeCategory in the settings. Steps to Reproduce: - In Settings app, select the largest accessibility text size possible. - Run the AdaptiveCode sample app. - The start screen correctly displays huge cells with a height of ~130 pt - Select any cell - Go back Expected Results: The start screen should be displayed as before with cell heights of ~130 pt. Actual Results: The cell height is decreased to 44 pt. Regression: Bug occurs at least in iOS 8.0 and 8.1 beta. Notes: This is either a bug in the sample app or in iOS. I think the latter because when using a standard tableView this should work automatically imo. But it only works halfway, apparently. Background: I’d like to limit supported Dynamic Type font sizes easily and avoid calculating the tableView rowHeight manually according to the selected UIContentSizeCategory. See also: https://devforums.apple.com/message/1059665#1059665
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!