mpmusicplayercontroller

iPhone record audio from mic while playing music from iPod library using MPMusicPlayerController

混江龙づ霸主 提交于 2021-02-10 23:52:53
问题 Is it possible while playing music from iPod library using MPMusicPlayerController, recording voice form mic on iPhone? If possible, any sample or code? 来源: https://stackoverflow.com/questions/13826065/iphone-record-audio-from-mic-while-playing-music-from-ipod-library-using-mpmusic

iPhone record audio from mic while playing music from iPod library using MPMusicPlayerController

对着背影说爱祢 提交于 2021-02-10 23:52:16
问题 Is it possible while playing music from iPod library using MPMusicPlayerController, recording voice form mic on iPhone? If possible, any sample or code? 来源: https://stackoverflow.com/questions/13826065/iphone-record-audio-from-mic-while-playing-music-from-ipod-library-using-mpmusic

iPhone record audio from mic while playing music from iPod library using MPMusicPlayerController

最后都变了- 提交于 2021-02-10 23:51:38
问题 Is it possible while playing music from iPod library using MPMusicPlayerController, recording voice form mic on iPhone? If possible, any sample or code? 来源: https://stackoverflow.com/questions/13826065/iphone-record-audio-from-mic-while-playing-music-from-ipod-library-using-mpmusic

iPhone record audio from mic while playing music from iPod library using MPMusicPlayerController

假如想象 提交于 2021-02-10 23:49:29
问题 Is it possible while playing music from iPod library using MPMusicPlayerController, recording voice form mic on iPhone? If possible, any sample or code? 来源: https://stackoverflow.com/questions/13826065/iphone-record-audio-from-mic-while-playing-music-from-ipod-library-using-mpmusic

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

99封情书 提交于 2020-03-07 05:40:33
问题 I have to change the volume on iPad and using this code: [[MPMusicPlayerController applicationMusicPlayer] setVolume:0]; But this changing volume and showing system volume bar on iPad. How to change the sound without showing the volume bar? I know, setVolume: is deprecated, and everybody says to use MPVolumeView . If this is the only way to solve my problem, then how to change the volume using MPVolumeView ? I don't see any method in MPVolumeView that changes the sound. Should I use some

MPMusicPlayerController does not send background notifications when using Apple Music (Sample Project is Included)

允我心安 提交于 2020-01-05 04:06:17
问题 This is a problem that has been bothering us for months now. I created a bug report for apple, but they aren't responding. I also created a sample project that demonstrates the bug. I would really appreciate any ideas that you guys have. So without further adieu, here is the description of the problem and a link to the sample project. Thank you so much! Sample Project: https://dl.dropboxusercontent.com/u/28210/AppleMusicBug.zip MPMusicPlayerController is used to play Apple Music songs via the

Can't Modify MPRemoteCommandCenter Actions when using MPMusicPlayerController

不打扰是莪最后的温柔 提交于 2020-01-04 04:12:07
问题 My app uses MPMusicPlayerController.systemMusicPlayer() to play audio which works well. The user is able to set a custom currentPlaybackRate . This works as expected. If the user presses an action on the lock screen (the MPRemoteCommandCenter ), the currentPlaybackRate is reset to 1. This is because events are sent directly to the system music player, not the app controller. To set the currentPlaybackRate to the proper value, I tried to override MPRemoteCommandCenter events: override func