Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ class WantsToPlayActivityCompletionHandlerContainer : NSObject {
public var completionHandler : WantsToPlayActivityCompletionHandler? = nil;
}

@available(iOS 26.0, macOS 26.0, tvOS 26.0, visionOS 26.0, *)
extension GKWLocalPlayerListener : GKGameActivityListener {

@available(iOS 26.0, macOS 26.0, tvOS 26.0, visionOS 26.0, *)
public func player(_ player: GKPlayer, wantsToPlay activity: GKGameActivity, completionHandler completion: @escaping WantsToPlayActivityCompletionHandler) {
guard let wantsToPlayActivity = WantsToPlayActivity else {
completion(false);
Expand Down