I am trying to make a slider to control device volume. Previously I have accomplished this with MPVolumeView, but since iOS 5 I get the following error on build:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_MPVolumeView", referenced from:
objc-class-ref in PlayerViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can someone please tell me what is the problem or is there another way to control devices volume.
Thanks in advance!