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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -