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
Yes, but only on a jail-broken phone.