---
title: aspectRatio
framework: homekit
role: symbol
role_heading: Instance Property
path: homekit/hmcamerasource/aspectratio
---

# aspectRatio

The aspect ratio of the camera.

## Declaration

```swift
var aspectRatio: Double { get }
```
