ios - Hide device Volume HUD view while adjusitng volume with MPVolumeView slider -


i implementing video player mpmovieplayer in ipad application, used mpvolumeview volume control. problem when scroll volume view adjust volume showing device's volume hud overlay in screenshot below.

enter image description here

how can disable system volume indicator hud? code :

@property (weak, nonatomic) iboutlet mpvolumeview *playbackmpvolumeview;  //customizing controller - (void)customizevolumecontroller {     _playbackmpvolumeview.showsroutebutton  = yes;     _playbackmpvolumeview.showsvolumeslider = yes;     [_playbackmpvolumeview setvolumethumbimage:[uiimage imagenamed:@"volume_slider_thumb.png"] forstate:uicontrolstatenormal]; } 

swift 3

let volumeview = mpvolumeview(frame: .zero) view.addsubview(volumeview) 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -