---
title: "applyingExifOrientation(_:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avportraiteffectsmatte/applyingexiforientation(_:)"
---

# applyingExifOrientation(_:)

Returns a derivative portrait effects matte after applying the specified EXIF orientation.

## Declaration

```swift
func applyingExifOrientation(_ exifOrientation: CGImagePropertyOrientation) -> Self
```

## Parameters

- `exifOrientation`: One of the standard EXIF orientation tags expressing how the portrait effects matte should be rotated or mirrored.

## See Also

### Creating a Portrait Effects matte

- [Configuring camera capture to collect a Portrait Effects matte](avfoundation/configuring-camera-capture-to-collect-a-portrait-effects-matte.md)
- [init(fromDictionaryRepresentation:)](avfoundation/avportraiteffectsmatte/init(fromdictionaryrepresentation:).md)
- [replacingPortraitEffectsMatte(with:)](avfoundation/avportraiteffectsmatte/replacingportraiteffectsmatte(with:).md)
