I am doing iOS react-native app. App is video player, which can connect to ChromeCast. I have a task to control ChromeCast volume with iPhone volume buttons. Does anyone know how to do it in react-native. Or at least explain how to detect it with IOS (objective-c)?
Regards, Vitalii
使用这个库https://github.com/rtmalone/react-native-volume-control您可以通过硬件按钮检测音量按下事件
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.