Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread Display Modes
Old Dec 20, 2012, 03:46 PM   #1
macrumors regular
Join Date: Jun 2006
Weird UIImageView ContentMode Issue

Hey All,

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?
Attached Files
File Type: zip Awesome Menu Test.zip (1.21 MB, 13 views)
isthisonetaken is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
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

Forum Jump

All times are GMT -5. The time now is 08:44 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC