Contents

systemImageNamed(_:)

Returns an image object that contains the specified system symbol image.

Declaration

class func systemImageNamed(_ systemImageName: String) -> Self

Parameters

  • systemImageName:

    The name of the system symbol image. Use the Sf Symbols app to look up the names of system symbol images.

Return Value

An object that contains the specified symbol image. If systemImageName is invalid, the system passes nil to the completion handler of fetchUIImage(completion:).