Button image shouldn't be stretched in TableView UIContextualAction
Originator: | futuretap | ||
Number: | rdar://32920664 | Date Originated: | 22-Juni-2017 12:17 PM |
Status: | Duplicate/32193232/Closed | Resolved: | |
Product: | iOS + SDK | Product Version: | 11.0 b2 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: If the image of a UIContextualAction isn't square, it is resized non-proportionally. This behavior is surprising and different from other similar APIs such as UITableView's accessoryView. Steps to Reproduce: Configure a UITableView with UISwipeActions using the -tableView:trailingSwipeActionsConfigurationForRowAtIndexPath: API. Use a non-square image, in my case a 19*25 pt image. Expected Results: The image should be centered preserving the original aspect ratio. Actual Results: The image is stretched. Version: 11.0 b2 Notes: -
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!