Ive implemented a MPVolumeView with this code:
However, when running in the simulator it is set to the far left, which would indicate that the sound is turned off. But it's not. And when moving the bar to the right, it doesnt change the sound-level at all.
So, is this just with the simulator, since the MPVolumeView changes the system volume? Will the MPVolumeView change the volume when run on a real iPhone?
Code:
MPVolumeView *myVolume = [[MPVolumeView alloc] initWithFrame:CGRectMake(10, 435, 300, 0)];
[myVolume sizeToFit];
[moviePlayerWindow addSubview:myVolume];
[myVolume release];
However, when running in the simulator it is set to the far left, which would indicate that the sound is turned off. But it's not. And when moving the bar to the right, it doesnt change the sound-level at all.
So, is this just with the simulator, since the MPVolumeView changes the system volume? Will the MPVolumeView change the volume when run on a real iPhone?