what's the preferred visibility toggle for UIImage (like setHidden on UIButton)?
Posted
by Michael F
on Stack Overflow
See other posts from Stack Overflow
or by Michael F
Published on 2010-03-14T17:58:38Z
Indexed on
2010/03/14
18:05 UTC
Read the original article
Hit count: 182
iphone
I'd like to control visibility on a simple UI element. If it was a button, I'd just call setHiden on it, but UIImage has no such method.
What's the preferred way of showing or hiding an image? Just making it a UIButton and not hooking it up to any methods seems wasteful.. is that really the right way to do it?
© Stack Overflow or respective owner