View Full Version : Controlling iPhone volume from within application
lilmul123
Jul 4, 2009, 12:08 AM
Is this possible? I'd like to be able to control the iPod volume using a slider within my application instead of having to press a physical button to make it happen.
lilmul123
Jul 6, 2009, 07:58 AM
Is this not possible?
simplymuzik3
Jul 6, 2009, 09:25 AM
Is this not possible?
It is possible. You have to use AVFoundation.framework which lets you control play, pause, volume etc. Here's a good youtube video that's easy to follow.
http://www.youtube.com/watch?v=uyEjidHn9cw
Just follow the tutorial and then when you want to change the volume, make a slider in IB, then when you adjust the slider change the volume. ex:
slider.value = volume;
Also when you follow the video tutorial, make sure you dont "copy resources to group folder" when you add the framework. It causes problems when you do that in 3.0. Hope this helps you! :D
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.