Contents

loadImage(completionHandler:)

Asynchronously load the image. Error will be nil on success.

Declaration

func loadImage(completionHandler: @escaping  @Sendable (UIImage?, (any Error)?) -> Void)
var image: UIImage? { get async throws }
func loadImage(completionHandler: @escaping  @Sendable (NSImage?, (any Error)?) -> Void)
var image: NSImage? { get async throws }

See Also

Getting the display properties and image