camera-capture
Installation
SKILL.md
Camera Capture (iOS)
Camera Capture is the experimental standalone high-quality photo path exposed by camera.photo. It is different from stream.capturePhoto, which takes a photo while video streaming remains active.
Prepare Camera and permission
The app needs Camera approval in Wearables Developer Center and .camera permission. Add Camera only after the DeviceSession starts. Stream and standalone Photo compete for camera hardware, so stop an active Stream before starting Photo.
Observe and start Photo
Register the publishers you need before calling start(), then wait for .started before requesting a capture.
guard let camera = try session.addCamera(config: StreamConfiguration()) else { return }
let photo = camera.photo
let photoTokens = ListenerTokenBag()