iOS10 UNNotificationAttachmentOptionsThumbnailClippingRectKey option dose not work
Originator: | kentaro.matsumae | ||
Number: | rdar://27544846 | Date Originated: | 26-Jul-2016 |
Status: | Open | Resolved: | |
Product: | iOS | Product Version: | |
Classification: | Reproducible: |
Area: APNS (Notifications) Summary: I used UNNotificationAttachmentOptionsThumbnailClippingRectKey option to clip notification thumbnail image. My original thumbnail image is completely square. I want to show image with full area. So I specified CGRect(x: 0, y: 0, width: 1.0, height: 1.0). I expect image to show full area. But iOS actually show only a center part area of the image as if specified CGRect(x: 0.25, y: 0.25, width: 0.5, height: 0.5). I think this is iOS10 bug. Steps to Reproduce: 1. Implement custom NotificationService with attached image. 2. Send push notification. 3. Receive push notification on actual device. 4. Thumbnail image is shown but it's only center part of image. Expected Results: Show thumbnail image with full area. Actual Results: Show thumbnail image with center part. Version: iOS10 beta3 Notes: Configuration: Xcode8 beta3 + iPhone6 Attachments:
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!