UIImageView setImage doesn't work with presentModelViewController?
I cannot for the life of me get a UIImageView declared on a view controller that is displayed modally to display anything other than the default image I have selected for the UIImageView. My View is declared through IB and hooked in to the controller. The viewcontroller is init'ed with the nib file containing the UI elements. Other properties of UI elements on the view get set correctly; as well as IBActions that are declared in the nib.
Any thoughts? I have tried putting my initialization code in both viewDidLoad and initWithNibName and neither way works. Also, calling setImage on my UIImageView in other places in my controller doesn't achieve anything.
On a related note, why don't UIImageView's respect the contentMode property when displaying an image that isn't exactly the aspect ratio of the UIImageView?
Thanks,
-MrB
Any thoughts? I have tried putting my initialization code in both viewDidLoad and initWithNibName and neither way works. Also, calling setImage on my UIImageView in other places in my controller doesn't achieve anything.
On a related note, why don't UIImageView's respect the contentMode property when displaying an image that isn't exactly the aspect ratio of the UIImageView?
Thanks,
-MrB
MacBook, Mac OS X (10.5.6)