Add/Remove image from view in Rubymotion
Add image:
@image_view = UIImageView.alloc.initWithImage(image)
Remove image:
@image_view.image = nil;
Written by Gourav Tiwari
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rubymotion
Authors
wilhelmbot
7.551K
RayHightower
4.716K
Related Tags
#rubymotion
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#