appcelerator/titanium_mobile — pull request #2665 by vishalduggal (2012-08-01 20:13:10+00:00)
Title: [TIMOB-3749]Do not scale images. Update content mode for imageView

Fixes a few issues with the imageView implementation on IOS.

imageView contentMode is now dependent on the width and height definitions.

If both the properties are set to override image dimensions(Percent,FILL,DIP) the contentMode is UIViewContentModeScaleToFill otherwise the contentMode is UIViewContentModeScaleAspectFit.

Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-3749).
Please test the original issue and also the additional test case in the comments. (which will show the current problems with the implementation)

Must regress against KS->BaseUI->ImageViews