UNNotificationAttachmentOptionsThumbnailClippingRectKey doesn't have an effect
Originator: | nate | ||
Number: | rdar://27708976 | Date Originated: | 04-Aug-2016 03:48 PM |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | |
Classification: | Reproducible: |
Summary: The attached screenshots were created using UNNotificationAttachment, one with `UNNotificationAttachmentOptionsThumbnailClippingRectKey: CGRectCreateDictionaryRepresentation(CGRect(x: 0, y: 0, width: 1, height: 1))` and the other by omitting that key and value. Both versions of the notification attachment appear to have clipped the thumbnail image, even though one was specified to use [(0, 0), (1, 1)] as the clipping rect. Steps to Reproduce: Sample code included Expected Results: The thumbnail image does not display clipped when the clipping rect is set to 0, 0, 1, 1. Actual Results: The thumbnail image displays clipped Version: iOS 10.0 Beta 4 Notes: Configuration: iPhone 6 Plus Attachments: 'Screen Shot 2016-08-04 at 3.39.45 PM.png', 'NotificationService.swift' and 'Screen Shot 2016-08-04 at 1.35.42 PM.png' were successfully uploaded.
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!
Closed as duplicate of 27544846 (Open)