Methods exposed on the Camera ref.
const ref = useRef<CameraApi>(null);const photo = await ref.current?.capture();console.log(photo?.uri); Copy
const ref = useRef<CameraApi>(null);const photo = await ref.current?.capture();console.log(photo?.uri);
Take a photo associated with this view instance.
iOS only: check current camera permission status.
iOS only: request camera permission via native dialog.
Methods exposed on the Camera ref.
Example: Capture a photo