Ios 如何在应用程序中隐藏铃声视图?
我知道如何隐藏与下面代码一起弹出的音量警报,但它与振铃器不兼容。有没有办法掩盖这一点?我到处都找遍了,什么也没找到Ios 如何在应用程序中隐藏铃声视图?,ios,mpvolumeview,Ios,Mpvolumeview,我知道如何隐藏与下面代码一起弹出的音量警报,但它与振铃器不兼容。有没有办法掩盖这一点?我到处都找遍了,什么也没找到 CGRect rect = CGRectMake(-500, -500, 0, 0); MPVolumeView *volumeView = [[MPVolumeView alloc] initWithFrame:rect]; [self.view addSubview:volumeView];
CGRect rect = CGRectMake(-500, -500, 0, 0);
MPVolumeView *volumeView = [[MPVolumeView alloc] initWithFrame:rect];
[self.view addSubview:volumeView];