CLKComplicationTemplateExtraLargeSimpleImage masks images when drawn at runtime

Originator:jose.castillo
Number:rdar://27511539 Date Originated:07/23/2016
Status:Closed Resolved:
Product:watchOS SDK Product Version:watchOS 3 Beta 3
Classification:Bug Reproducible:Always
 
When assigning an image provider to a CLKComplicationTemplateExtraLargeSimpleImage, the template behaves differently depending on the image source: 

* When the image provider gets an image from the asset catalog, the image correctly displays in the full bounds of the extra large complication area. 
* When the image is drawn dynamically using UIGraphics commands and the UIGraphicsGetImageFromCurrentImageContext function, the resulting image is masked to a circle.

Steps to Reproduce:
Draw a complication image using UIGraphics commands and get the resulting image via the UIGraphicsGetImageFromCurrentImageContext function.

Expected Results:
The resulting image will be shown completely in the extra large complication area, just as it would be if the image came from the asset catalog.

Actual Results:
The image is masked to a circle.

Comments

Issue closed

Fixed in watchOS 3 beta 5.

By jose.castillo at Aug. 15, 2016, 9:45 p.m. (reply...)

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!