Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use iPhone's volume control buttons for some other purpose?

Tags:

ios

I need to make a photo app.

Will it be possible to assign some function, like controlling the light intensity or brightness to an iPhone's hardware volume control buttons?

like image 568
meetpd Avatar asked Oct 04 '11 06:10

meetpd


People also ask

What happens if you press both volume buttons and power button on an iPhone?

How to restart your iPhone X, 11, 12, 13, or later. Press and hold either volume button and the side button until the power-off slider appears. Drag the slider, then wait 30 seconds for your device to turn off.

Can volume buttons Power?

Yes, you can. In Android phones, you can remap your volume button (either up or down) to open the power menu using apps like Button Mapper.


2 Answers

This is possible. This tutorial will walk you through the steps.

http://fredandrandall.com/blog/2011/11/18/taking-control-of-the-volume-buttons-on-ios-like-camera/

like image 192
jrlocke Avatar answered Sep 28 '22 18:09

jrlocke


Changing the behavior of iPhone external hardware buttons is a violation of the iPhone Developer Program License Agreement.

There is an app that was banned from the appstore for trying this.

Ironically, iOS5 Camera App allows to use the volume control as a shutter. Perhaps the SDK will eventually allow more.

like image 36
rjgonzo Avatar answered Sep 28 '22 18:09

rjgonzo