---
title: photoSettings
framework: avfoundation
role: symbol
role_heading: Type Method
path: avfoundation/avcapturephotosettings/photosettings
---

# photoSettings

Creates a photo settings object with default settings.

## Declaration

```occ
+ (instancetype) photoSettings;
```

## Return Value

Return Value A new photo settings object.

## Discussion

Discussion Capturing a photo with default settings delivers a single image in JPEG format. Requesting capture in a processed format (such as JPEG) adds requirements for other photo settings: for details, see the format property. The capture output validates these requirement when you call the capturePhoto(with:delegate:) method. If your settings and delegate don’t meet these requirement, that method raises an exception.

## See Also

### Creating photo settings

- [init(format:)](avfoundation/avcapturephotosettings/init(format:).md)
- [init(rawPixelFormatType:)](avfoundation/avcapturephotosettings/init(rawpixelformattype:).md)
- [init(rawPixelFormatType:processedFormat:)](avfoundation/avcapturephotosettings/init(rawpixelformattype:processedformat:).md)
- [init(rawPixelFormatType:rawFileType:processedFormat:processedFileType:)](avfoundation/avcapturephotosettings/init(rawpixelformattype:rawfiletype:processedformat:processedfiletype:).md)
- [init(from:)](avfoundation/avcapturephotosettings/init(from:).md)
