Background Pic, Rotate, and Swap Image?

Posts: 1
Joined: 2009.04
Post: #1

So I have started making my first iPhone app! Its very, very simple, but I wan to slowly expand it. I need some help with a few things. Its really simple stuff, but I would really appreciate any help, thank you.

1. Firstly how can I set a background image? This is the first thing you see when you open the app.

2. I want this image to be able to rotate when I turn my device.

3. When I touch the screen I want the image to swap to my other chosen image.

Would appreciate the help, so far only have set the name and icon of my app.
Quote this message in a reply
Posts: 257
Joined: 2004.06
Post: #2
Read up on using UIImageViews in Apple's documentation (the Coding How-To's will help you a lot). You'll also need to look at how touch and device rotation events are handled though I suspect that a UIImageView will respond to a device rotation by default by rotating the image.

The brains and fingers behind Malarkey Software (plus caretaker of the world's two brattiest felines).
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  stupid question about IB - background image aerospaceman 2 3,586 Apr 29, 2010 07:17 PM
Last Post: aerospaceman
  rotate with touch bonanza 6 3,376 Feb 19, 2010 01:25 PM
Last Post: Frank C.
  OpenGL - how to draw background image? SDyer777 1 8,016 Mar 9, 2009 11:17 AM
Last Post: AnotherJake
  (static) Background image in Open GL Fraggle 10 7,278 Jan 7, 2009 07:48 AM
Last Post: AnotherJake