iOS16 终于支持 iPad 分屏微信视频通话也能获取摄像头权限了,之前疫情只给了 zoom 特权可以获取摄像头权限 https://developer.apple.com/documentation/avkit/accessing_the_camera_while_multitasking
Accessing the camera while multitasking
Operate the camera in Split View, Slide Over, or Picture in Picture mode.
Camera access is usually limited to apps running in full-screen mode. If your app enters a multitasking mode like Split View, the system disables the camera. Starting in iOS 16, your app can use the camera while multitasking by setting the isMultitaskingCameraAccessEnabled property to true on supported systems. Enabling this behavior also extends to Picture in Picture mode using AVKit. See Adopting Picture in Picture for video calls to learn more.
Apps that have a deployment target earlier than iOS 16 require the com.apple.developer.avfoundation.multitasking-camera-access entitlement to use the camera in multitasking modes.