---
title: takeSnapshot()
framework: homekit
role: symbol
role_heading: Instance Method
path: homekit/hmcamerasnapshotcontrol/takesnapshot()
---

# takeSnapshot()

Takes an image snapshot.

## Declaration

```swift
func takeSnapshot()
```

## See Also

### Taking snapshots

- [mostRecentSnapshot](homekit/hmcamerasnapshotcontrol/mostrecentsnapshot.md)
- [HMCameraSnapshot](homekit/hmcamerasnapshot.md)
