Contents

show(withTitle:message:completionHandler:)

Displays a banner with a title and message to the player.

Declaration

class func show(withTitle title: String?, message: String?, completionHandler: (@Sendable () -> Void)? = nil)
class func show(withTitle title: String?, message: String?) async

Parameters

  • title:

    The title of the banner.

  • message:

    The message on the banner.

  • completionHandler:

    The block that GameKit calls when the player dismisses the banner.

See Also

Displaying the Banner