You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: