Skip to main content
Camera Views
Updated over a week ago

The camera view lets you capture photos and videos using your iOS camera. You can layer other objects on top of the camera view to create popular UI designs.

Mode

Set the camera’s mode to photo or video.

Lens

There are four lens options for the camera: Ultra Wide, Wide (normal), Telephoto, and Front. The first three options all use the back camera and display the camera’s subject differently.

Digital Zoom

If you want the camera to begin zoomed in, you’ll use the Digital Zoom property. The zoom is set to 1x by default, but you can increase it to 8x using Play.

In Play Mode, users can pinch to zoom in and out as they would in the iOS Camera app, assuming the Pinch to Zoom property is on.

Preview

Turning the preview mode off removes the viewfinder in your design. The user will still be able to take a photo or video, but they won’t see what they’re capturing. The Preview Mode property is turned on by default.

Content Mode

The Content Mode property defines how the video is positioned within the element.

When set to aspect fill, the video will scale up to fill the element’s bounds. This setting will preserve the video’s aspect ratio, but in turn, may cause the video to appear cropped.

When set to aspect fit, the video will scale down to fit the element’s bounds. This setting will also preserve the video’s aspect ratio, but it will leave some of the element’s area unfilled by the video.

Pinch to Zoom

When the Pinch to Zoom property is on, users can pinch the camera view to zoom in and out as they would in the iOS Camera app.

Did this answer your question?