Retrieves asset collections using URLs provided by the Assets Library framework.
- iOS 8+
- macOS 10.15+Beta
- Mac Catalyst 13.0+Beta
- tvOS 10+
Options that specify a filter predicate and sort order for the fetched asset collections, or
nilto use default options. For details, see
A fetch result that contains the requested
PHAsset objects, or an empty fetch result if no objects match the request.
The Assets Library framework is deprecated in iOS 8.0 and later, replaced by the Photos framework. Use this method if your app has previously stored URLs from
ALAssets objects and you need to retrieve the corresponding Photos framework objects.