Skip to content

Documentation appears out of date  #20

@MDBrittingham

Description

@MDBrittingham

Following the example usage, GKAuthenticationView has three closures: state, failed, and authenticated. However, putting this example code into a SwiftUI view results in an error "Extra trailing closure passed in call" on the "failed:" line. Using

GKAuthenticationView(failed: { error in ...}, authenticated: { player in ...}

appears to work just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions