How do I make a button stay pressed in XCode?
Okay so I have an app I'm building that is almost complete. I'm just
having one problem, when I press my button it makes a sound and the
button's image changes. However the image on changes when it is being
touched or "highlighted" and I would like the buttons image to remain
changed through the duration of the sound effect then after the sound
effect I would like it to revert back to the original image. Is there
anyway I can set up a UIButton "set time" or something for the
"highlighted" option?
I feel so embarrassed sometimes, because I seem to get tripped up by these
most trivial things, when I handle the core coding exceptionally well and
near finish a full app in a days time, but this is my first app and I'm
still a newbie to XCode. I really appreciate this community's help any
answer that pushes me forward is always appreciated!
I further apologize for my questions formatting I typed this on my iPhone
I hope it's not too awkward or lacking in detail. If anyone needs more
detail just ask!
No comments:
Post a Comment