How to make a button that plays a sound in Xcode 5.1?

I'm trying to make a simple 1 page view app for the iPhone and I want the button to play a sound. Also what sound file is required for Xcode 5.1?

Added (1). I have no idea how to code. In any programming language.

Suck my ***

  • What is iphone apps made on xcode written in? I'm new to xcode and i was wondering what coding langue is used to make iphone apps and also if you know any good websites to learn the language on thank you in advance to any answers
  • VLC player for iPhone 5 only plays sound? So I was download Spongebob season one the other day as I'm in love with the series. Anyway. I figured that it would be easier to download VLC player app for iPhone than converting the.avi files to.mp4 files. As I was going to bed, ready to enjoy some spongebob I realized that the video didn't play, only the sound. So my question is: How do I fix this? I downloaded it as torrents from www.thepiratebay.sx, not from youtube or some other place.
  • Static when sound plays on laptop? 8 hours ago my computer was fine. I closed it for the night and didn't turn it on until 9 this morning. There's suddenly this mild but annoying static noise occuring when sound plays through the laptop speakers and through my headphones that I plugged in, so I'm pretty sure it is not a hardware issue. My laptop is an MSI gs70 laptop. I tried the headphones in my iphone and they worked fine, so I know the headphones aren't messed up.
  • How to release app from Xcode to device without having the purchased apple id? Actually i don't have my own purchased apple id… I've made an application but i don't wanna upload it at apple store so i wanna release it but without having the purchase appleID. So is there any possible way? i already googled it but i could find something which only exists in the much older version of XCODE. Like create a new certificate or something. I'm using Xcode 4.3. And i wanna test it on my jailbroken iPhone 4.