MPVolumeView is not visible on the view
- by Faiz
Hi everybody,
I am using MPVolumeView in an application to control the volume of a audio track. I have used following code. but volume view is not visible on the view. Anybody has faced the same problem??
MPVolumeView *myVolume = [[MPVolumeView alloc] initWithFrame:CGRectMake(10, 10, 300, 40)];
[myVolume sizeToFit];
[self.view addSubview:myVolume];
[myVolume release];
any solution?? Thanx in advance.