Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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 (1.21 MB, 4 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 12:00 PM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC