I have a question about UIView, what's the difference between views hidden, alpha and opaque?
UIView
The effect of setting view: hidden = yes and view.alpha = 0.0f is the same.
The differences are subtle. According to the UIView class reference:
opaque
hidden
alpha
Setting alpha = 0.0f or hidden = YES has the same visual effect. However using hidden to actually hide a view not only in a graphical sense but also from ui events might result in a more efficient responder chain when you have lots of nested views.
alpha = 0.0f
hidden = YES
2.1m questions
2.1m answers
60 comments
57.0k users