Contents

loadImage(completionHandler:)

Loads the image set on the challenge definition, which may be nil if none was set.

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