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.
您将如何检测用户是否按下音量硬件按钮并阻止默认行为?
非常感谢。
看AVSystemController_SystemVolumeDidChangeNotification(或在这里)
AVSystemController_SystemVolumeDidChangeNotification