How do I change the background image of my iPhone app?

Posted by alJaree on Stack Overflow See other posts from Stack Overflow or by alJaree
Published on 2010-06-15T23:27:46Z Indexed on 2010/06/15 23:52 UTC
Read the original article Hit count: 189

Filed under:
|
|

Hello

I have looked around and found some code which so called chooses an image from an array of image objects, but cant find an explanation.

I would like to make my app have a background image and the user can select next and previous buttons to scroll through some full screen images, setting them as the background image as they scroll.

I know how to do this in java, but cant seem to do it for this app.

How or what code is linked to a next button to grab the next image in the array and reverse for the back button?

Then that needs to be displayed obviously.

I have used a layered architecture with a MVC style approach but cant seem to put it together with Objective-C.

Would the buttons call the appropriate methods of the so called delegates, which the delegates handle fetching and returning the Images?

Would the buttons use the returned images and actually handle the redrawing?

I would really appreciate the help.

Regards

Jarryd

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch