Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 AVAudio 和 MPMusic 播放器为不同的播放器设置不同的音量级别,我正在播放两个播放器,但我不知道如何设置不同的不同音量级别。
谢谢你,马丹·莫汉
假设您的 avaudioplayer 名为 theAudio。要控制该音量,请说 [theAudio.volume =//volume here];对 mpmusicplayercontroller 执行相同的操作。