nitrex88 Posted April 13, 2008 Share Posted April 13, 2008 Hey, I have a question about the Image View element of the interface builder of SDK Beta 3. What code do i use and which class file do i put it in to make an image appear in the image view. I can drag it into the View and connect it as a outlet, but then im stuck. I've tried everything i can think of. It might have something to do with setImage but i can't figure it our. Someone please help. Link to comment Share on other sites More sharing options...
stroke Posted April 16, 2008 Share Posted April 16, 2008 UIImage *myImage = [[[NSBundle mainBundle] pathForResource:@"image_name" ofType:@"png"] autorelease]; theImageView.image = myImage; Link to comment Share on other sites More sharing options...
nitrex88 Posted April 16, 2008 Author Share Posted April 16, 2008 Oh wow, thank you. That worked fine. This forum has been a lot of help. Link to comment Share on other sites More sharing options...
Recommended Posts