Shishir.bobby
Shishir.bobby

Reputation: 10984

Set Image on imageview

i have 2 classes , say class A and Class B. in class A, i have one button,on that button click, i want set an image on class B's imageview.

How can i set image on imageview of class B from class A? Regards

Upvotes: 1

Views: 903

Answers (1)

AlexVogel
AlexVogel

Reputation: 10621

Declare the imageview from Class B as property (@property(..)), than you can set it's image from outside. For more infos read: The Objective-C Programming Language

Upvotes: 1

Related Questions