Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

how do i add audio to my button iOS app

the title explains it. i want to add audio to my button. so when i press it it will make a sound that i have on my comp. thanks.

9 Answers

What code have you tried so far?

what code do you mean? objective-c?

what code do you mean? objective-c?

yes

Yes I use objective-c

Yes I use objective-c

No, paste in the objective-c code you have tried so far get audio to work

I did not try it. I don't know how. That's what I'm saying. I want to learn how to Do it.

thank you amit. i loved your videos and tutorials. i have a question if i can talk to you personal about something.