开发者

Set Image on imageview

开发者 https://www.devze.com 2023-01-14 10:28 出处:网络
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.

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消