Top "Mpvolumeview" questions

MPVolumeView is a class from MediaPlayer framework in iOS.

iOS 9: How to change volume programmatically without showing system sound bar popup?

I have to change the volume on iPad and using this code: [[MPMusicPlayerController applicationMusicPlayer] setVolume:0]; But this changing volume and …

ios objective-c ios9 mpmusicplayercontroller mpvolumeview
Swift: how to set the iphone volume programmatically

I am trying to create an alarm app and I have noticed that apps like Sleep Cycle will set your …

iphone swift avaudioplayer volume mpvolumeview
How do you implement an MPVolumeView?

I want the user to be able to change the system volume with a slider, and I realized the only …

ios iphone volume mpvolumeview
How to add the MPVolumeView via Xcode Designer?

I originally added an MPVolumeView dynamically on to a page... #import "MediaPlayer/MPVolumeView.h" . . -(IBAction) handleVolumeButtonClicked:(id) sender { if (…

objective-c cocoa-touch mpvolumeview
Hide device Volume HUD view while adjusitng volume with MPVolumeView slider

I was implementing a video player with MPMoviePlayer in my iPad Application, used MPVolumeView for the volume control. My problem …

ios objective-c mpvolumeview
How to change volume programmatically on iOS 11.4

Before, I was setting sound volume programmatically using this approach: MPVolumeView *volumeView = [[MPVolumeView alloc] init]; UISlider *volumeViewSlider = nil; for (UIView *…

ios objective-c mpvolumeview
Hide grey volume overlay when using MPVolumeView?

I've put a MPVolumeView over a movie I'm playing. The trouble is, whenever I adjust the vol using the MPVolumeView, …

iphone objective-c ios mpvolumeview