I’m trying to program a back button on a simple webView application, and I’m wondering how it’s possible to send a buttonPressed message when the image I have for the back button is pressed to initiate the goBack response.
Share
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.
If you want, you can do all of this via Interface Builder. Add a custom button, set the image to your arrow image and you are done. Hook it up to your outlet and away you go.
If you plan on doing this via code only, it isn’t that much harder.
Add Button Programatically