Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JGoose

macrumors member
Original poster
Feb 12, 2010
41
0
How can I make a UIButton appear to be clicked without the user pressing it.

Basically, I want the highlighted image of the button to appear for a second then return to the default image.
 
well than I think your going to have to create an image of the button for both clicked and un-clicked views and then just programmatically switch out the photos
 
Don't know for sure. Try the setHighlighted: method to make the button appear to have been touched. Set a timer or delayedPerform and unhighlight the button after a half second or so. You may have to consider what happens if the user really touches the button while it's in this state.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.