Skip to main content
Camera

A native element that uses the device's camera.

Updated over 2 weeks ago

Overview

A camera element lets you display a preview using your iOS camera and capture photos and videos. Camera elements can be layered with other objects to create popular UI designs.


Element Properties

Mode

Set the camera’s mode to photo or video.

Lens

Set the camera lens as ultra-wide, wide, telephoto, or front:

  • Ultra Wide: Uses the back-facing lens with a wider field of view (i.e. 0.5 lens).

  • Wide: Uses the default, back-facing lens.

  • Telephoto: Uses the back-facing lens with high-quality zoom capabilities.

  • Front: Uses the front-facing lens.

Digital Zoom

Set the camera's default zoom from 1-8x.

Content Mode

Set how the camera's preview is positioned within the element:

  • Aspect Fill: The preview will scale up to fill the element’s bounds, preserving the aspect ratio but potentially cropping the preview.

  • Aspect Fit: The preview will scale down to fill the element’s bounds, preserving the aspect ratio but potentially leaving some of the element's area unfilled.

Quality

Set the quality of the recording to 720p (low), 1080p (medium), or 4k (high). (for video mode only)

FPS

Set the frames per second to 12, 24, or 30 fps. (for video mode only)

Show Preview

Choose to display the camera feed. When off, users can take photos or videos, but cannot see a preview of what's being captured.

Pinch to Zoom

Choose if users can pinch the camera's preview to zoom in and out, like the iOS Camera app.


Expression Editor Properties

No camera element specific Expression Editor properties. See all object properties.


Resources

Related Triggers & Actions

Links

Did this answer your question?