The device type of the source camera providing the photo.
- iOS 13.0+
- Mac Catalyst 13.0+
When capturing a photo using a virtual device, you may query this property to find out the source type of the photo. For example, on a dual camera, resulting photos have a source device type of
AVCapture. For all other types of capture, the source device type is the same as the device type of the capture device connected to the photo output.
This method returns
nil if the source of the photo is not a capture device.