|Dec 20, 2012, 03:46 PM||#1|
Weird UIImageView ContentMode Issue
I've attached the sample app I am working with. It's two UIImageView subclasses, called CustomImageView on top of one another. They have large images placed in them in IB and their content mode is set to Aspect Fill. I have a tap gesture that lets the user tap to get a menu to set a filter (black and white or sepia). The filter is applied and the image is updated. That all works, but for some reason, the picture gets squished, as if its content mode is now Scale to Fill, except when I logged (before and after the image being reset) the content mode stays the same... I also logged the image sizes and they aren't changed, the frames and bounds aren't changed, it's just the content mode, except it doesn't show that it's changed either. Also I tried setting the content mode before and after, and that also didn't do anything.
Can anyone figure out what is going on?
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Weird Login Issue||3kings||MacBook Pro||2||Apr 6, 2014 04:43 PM|
|weird issue, looking for help||kalex||MacBook Pro||2||Feb 24, 2014 02:30 PM|
|Weird issue with iphone 5||PortableLover||iPhone Tips, Help and Troubleshooting||0||Oct 3, 2013 06:25 AM|
|1,1 weird issue||teameurox||Mac Pro||0||Jan 28, 2013 09:08 AM|
|Weird issue?||Southernboyj||MacBook Air||0||Jun 16, 2012 02:16 AM|
All times are GMT -5. The time now is 05:07 AM.