PDA

View Full Version : Image Button???




saurabhshukla
May 7, 2009, 01:50 AM
Hi all. I am new to iphone application development. I am creating a project which has a icon on iphone's home screen. When a user clicks on this it opens a new screen which has many icons like Home screen. Now on this screen when we click any icon it opens a new view with some text message.

Now my question is How can i use a image (.png) as a button as on Home screen?

If any tuts or sample codes are available then please suggest me.
Please help me out. Thanks for your time.



dejo
May 7, 2009, 09:34 AM
UICatalog (http://developer.apple.com/iphone/library/samplecode/UICatalog/index.html) contains sample code of using an image for a button.