uibutton - Change image of UIImageView on button click in iPhone program -


I want to change the image in the image viewer when I click a button I know the basic question, but for this I need an answer. Please answer

First of all, implement the following method in a MyViewController.m (also, MyViewController Add method signature to .h file):

MyViewController.m:

  - HandBlow link: (ID) sender {imageView.image = [UIImage imageNamed: @ "Blah.png"]; }  

MyViewController.h:

{IBOutlet UIImageView * imageView; } - (IBAction) handleButtonClick: (ID) sender;

>

/ html>

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -