UIAlertView に MPVolumeView を配置することは可能ですか?
中に入れてみましたが表示されません。それは、sizeToFitまたはinitWithFrame:一部である可能性がありますか?MPVolumeViewが実際に作成されているかどうかをテストする方法はありますか?
UIAlertViewとの両方を初期化するコードは次のMPVolumeViewとおりです。
UIAlertView *volumeAlert = [[UIAlertView alloc] initWithTitle:@"Volume" message:@"" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
MPVolumeView *volumeView = [[MPVolumeView alloc] initWithFrame:volumeAlert.bounds];
[volumeAlert addSubview:volumeView];
[volumeAlert sizeToFit];
[volumeAlert show];
[volumeAlert release];
[volumeView release];