Home
Reviews
Forums
New Games
Podcast
• submit tip •
  #1  
Old 11-20-2008, 08:41 PM
MrPenguin9 MrPenguin9 is offline
Member
 
Join Date: Jul 2008
Posts: 30
Default Help with making a button

How do you tell it during the button is held down do this, and when you let go of the button do this?

Thanks so much

Last edited by MrPenguin9; 11-20-2008 at 10:05 PM..
Reply With Quote
  #2  
Old 11-25-2008, 09:19 PM
TripleJ TripleJ is offline
Junior Member
 
Join Date: Nov 2008
Posts: 21
Default

Quote:
Originally Posted by MrPenguin9 View Post
How do you tell it during the button is held down do this, and when you let go of the button do this?

Thanks so much
The easiest way is to use interface builder, i think.
create your actions first (one for when the button is held down and one for when it's let go), then open interface builder and in the connections tab drag the new actions (a blue line will appear) to the button. A popup will then ask you when you would like to apply the action you selected and you can choose between lots of different situations (for instance 'touch up inside' for when the button is pressed.). Hope that helps a bit
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


iPhone Game Reviews | iPhone Apps

All times are GMT -5. The time now is 09:17 PM.