sourceType
The means by which the asset enters the user’s Photos library.
Declaration
var sourceType: PHAssetSourceType { get }Discussion
Assets from some sources can be edited, deleted, or added to collections; assets from other sources do not support these operations. For details, see PHAssetSourceType.