---
title: isHidden
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phasset/ishidden
---

# isHidden

A Boolean value that indicates whether the user hides the asset.

## Declaration

```swift
var isHidden: Bool { get }
```

## Discussion

Discussion Hidden assets are only available in the hidden Smart Album or in user Smart Albums. To include these assets, use the includeHiddenAssets fetch option. Beginning with iOS 16, users can require authentication to view the hidden album, and the user setting is true by default. When true, the system doesn’t return hidden assets even if the includeHiddenAssets fetch option is true. If you use PhotosPicker, a user can choose hidden assets to provide to your app.

## See Also

### Reading Asset Metadata

- [contentType](photos/phasset/contenttype.md)
- [mediaType](photos/phasset/mediatype.md)
- [PHAssetMediaType](photos/phassetmediatype.md)
- [mediaSubtypes](photos/phasset/mediasubtypes.md)
- [PHAssetMediaSubtype](photos/phassetmediasubtype.md)
- [sourceType](photos/phasset/sourcetype.md)
- [PHAssetSourceType](photos/phassetsourcetype.md)
- [pixelWidth](photos/phasset/pixelwidth.md)
- [pixelHeight](photos/phasset/pixelheight.md)
- [addedDate](photos/phasset/addeddate.md)
- [creationDate](photos/phasset/creationdate.md)
- [modificationDate](photos/phasset/modificationdate.md)
- [location](photos/phasset/location.md)
- [duration](photos/phasset/duration.md)
- [isFavorite](photos/phasset/isfavorite.md)
