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
  Transparent background for UITableViewCellAccessoryDetailDisclosureButton Toontingy 2 4,651 Sep 11, 2010 04:52 AM
Last Post: Toontingy
  stupid question about IB - background image aerospaceman 2 4,684 Apr 29, 2010 07:17 PM
Last Post: aerospaceman
  rotate with touch bonanza 6 5,236 Feb 19, 2010 01:25 PM
Last Post: Frank C.
  Scrolling content but not background omriykl 1 6,856 Jun 14, 2009 01:45 PM
Last Post: uripo
  OpenGL ES: Doing a background distortion soulstorm 2 4,848 May 14, 2009 04:00 PM
Last Post: soulstorm