UIImage with slicing will make a UIImageView bigger than it's constraints

Originator:exsephiroth87
Number:rdar://18291155 Date Originated:10/09/2014
Status:Open Resolved:No
Product:iOS SDK Product Version:iOS8
Classification:Serious Bug Reproducible:Always
 
Summary:
Sample project attached.

If a UIImage loaded from the assets catalog has horizontal stretching/tiling with more than 1 pixel, the UIImageView will not respect it's constraints

Seems to be a pretty major issue as it renders slicing useless

Steps to Reproduce:
1. Add an image to the catalog, add horizontal slicing, more than 1 pixel width
2. Create an UIImageView in a storyboard, assign a fixed width and height constraint
3. Assign the image to the imageView


Expected Results:
The imageView will have the size enforced by the constraints

Actual Results:
The imageView is bigger

Version:
Any iOS8

Notes:


Configuration:
Any device

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!