---
title: "camera(framing:)"
framework: mapkit
role: symbol
role_heading: Instance Method
path: "mapkit/mapproxy/camera(framing:)-1asl2"
---

# camera(framing:)

Creates a camera in the context of the map that frames the given coordinate region.

## Declaration

```swift
func camera(framing region: MKCoordinateRegion) -> MapCamera
```

## Parameters

- `region`: The coordinate region to frame.

## Return Value

Return Value Returns a MapCamera with the framing region you specified.

## See Also

### Creating a camera proxy

- [camera(framing:)](mapkit/mapproxy/camera(framing:)-uxov.md)
- [camera(framing:allowPitch:)](mapkit/mapproxy/camera(framing:allowpitch:).md)
