isHidden
A Boolean value that indicates whether the user hides the asset.
Declaration
var isHidden: Bool { get }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.