asset(forIdentifier:)
Provides the asset named with the designated identifier.
Declaration
func asset(forIdentifier identifier: String) -> PHASEAsset?Parameters
- identifier:
The unique name of the asset.
Return Value
A framework asset by the destignated name, if the app registers the asset prior. Otherwise, returns nil.