Type Method

placeholderCompletedAchievementImage()

A common image for completed achievements.

Declaration

iOS, Mac Catalyst, tvOS
class func placeholderCompletedAchievementImage() -> UIImage
macOS
class func placeholderCompletedAchievementImage() -> NSImage

Return Value

An image object.

Discussion

When an achievement is completed, your game can display this image until the custom image for an achievement finishes loading.

In macOS, this class method returns an NSImage object but otherwise works identically.

See Also

Working with Achievement Images

class func incompleteAchievementImage() -> UIImage

A common image for incomplete achievements.

func loadImage(completionHandler: ((UIImage?, Error?) -> Void)?)

Loads the image property for a completed achievement.