ios - Show glow when a button is touched -
trying use info button in ios app. wondering if knows how simulate glow effect when click on it.
see example weather or stocks apps in iphone; when touch it, glow highlight around touch. touch , hold see it.
uibutton has property called showstouchwhenhighlighted
. default set no
.
if set yes glow effect when button highlighted.
you can set in interface builder checking "shows touch on highlight" option.
or can in code with:
infobutton.showstouchwhenhighlighted = yes;
this applies uibuttons, not info ones.
Comments
Post a Comment