---
title: typeUserLibrary
framework: photos
role: symbol
role_heading: Type Property
path: photos/phassetsourcetype/typeuserlibrary
---

# typeUserLibrary

The asset is part of the user’s main Photos library.

## Declaration

```swift
static var typeUserLibrary: PHAssetSourceType { get }
```

## Discussion

Discussion The main library contains both assets that originate on the device (such as photos and videos captured with the Camera app or screenshots) and assets synchronized through iCloud Photo Library or My Photo Stream. These assets appear in Moments collections and can be edited or deleted.

## See Also

### Constants

- [typeCloudShared](photos/phassetsourcetype/typecloudshared.md)
- [typeiTunesSynced](photos/phassetsourcetype/typeitunessynced.md)
