What is the difference between Highlighted and Selected UIButton's State?
objective-c, uibutton
Solution
According to the documentation:
Highlighted state of a control. A control enters this state when a touch enters and exits during tracking and when there is a touch up event.
and
Selected state of a control. For many controls, this state has no effect on behaviour or appearance. But other subclasses may have different appearance depending on their `selected` state.
this is the pure difference between the states.
Problem
Can anyone tell me What is the difference between Highlighted and Selected state of a `UIButton`?