Im new to iphone development. i tried to develope button with image (when i click button the image will displayed) this application will developed like programmaticaly in iphone.
Can any one plz help me for my problem.
Thank you in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do this:
This way of doing things is great, because you can set the image to show up differently as needed. The different UIControlStates can be found here: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIControl_Class/Reference/Reference.html#//apple_ref/c/tdef/UIControlState
Happy coding 🙂