---
title: rating
framework: Photos
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: photos/phassetchangerequest/rating
---

# rating

The rating for this asset

## Declaration

```swift
var rating: PHAsset.Rating { get set }
```

## See Also

### Modifying Assets

- [init(for:)](photos/phassetchangerequest/init(for:).md)
- [creationDate](photos/phassetchangerequest/creationdate.md)
- [location](photos/phassetchangerequest/location.md)
- [isFavorite](photos/phassetchangerequest/isfavorite.md)
- [isHidden](photos/phassetchangerequest/ishidden.md)
- [caption](photos/phassetchangerequest/caption.md)
- [addKeyword(_:)](photos/phassetchangerequest/addkeyword(_:).md)
- [removeKeyword(_:)](photos/phassetchangerequest/removekeyword(_:).md)
- [setLivePhotoVideoPlaybackEnabled(_:)](photos/phassetchangerequest/setlivephotovideoplaybackenabled(_:).md)
