- Notifications
You must be signed in to change notification settings - Fork 548
GameKit iOS xcode26.0 b3
Alex Soto edited this page Aug 4, 2025 · 3 revisions
#GameKit.framework https://github.com/dotnet/macios/pull/23474
diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h --- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h 2025-06-16 00:32:50 +++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKAccessPoint.h 2025-07-01 07:56:17 @@ -19,6 +19,8 @@ @class UIWindow; #endif +@class GKGameActivity; + typedef NS_ENUM(NSInteger, GKAccessPointLocation) { GKAccessPointLocationTopLeading, GKAccessPointLocationTopTrailing, @@ -91,16 +93,12 @@ - (void)triggerAccessPointWithGameActivityDefinitionID:(NSString *)gameActivityDefinitionID handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(trigger(gameActivityDefinitionID:handler:)) NS_SWIFT_ASYNC(2) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos); +/// Displays the game activity view for the provided activity instance. +- (void)triggerAccessPointWithGameActivity:(GKGameActivity *)gameActivity + handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(trigger(gameActivity:handler:)) NS_SWIFT_ASYNC(2) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos); + /// Brings up the invite friends view. - (void)triggerAccessPointForFriendingWithHandler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(triggerForFriending(handler:)) NS_SWIFT_ASYNC(1) API_AVAILABLE(ios(26.0), macos(26.0)) API_UNAVAILABLE(tvos, visionos, watchos); - -@end - -API_UNAVAILABLE(ios, macos) API_UNAVAILABLE(ios, macos, tvos, visionos, watchos) -@interface GKAccessPoint (Private) - -- (void)_triggerAccessPointWithGameActivityDefinitionID:(NSString *)gameActivityDefinitionID - handler:(void (^ _Nullable)(void))handler NS_SWIFT_NAME(_trigger(gameActivityDefinitionID:handler:)) NS_SWIFT_ASYNC(2) API_UNAVAILABLE(ios, macos) API_UNAVAILABLE(ios, macos, tvos, visionos, watchos); @end diff -ruN /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h --- /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h 2025-06-16 00:32:50 +++ /Applications/Xcode_26.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKBasePlayer.h 2025-06-28 14:18:12 @@ -5,7 +5,7 @@ #import <GameKit/GKDefines.h> API_AVAILABLE(ios(10.0), macos(10.12), tvos(10.0), visionos(1.0), watchos(3.0)) -@interface GKBasePlayer : NSObject +@interface GKBasePlayer : NSObject<NSCopying> @property(readonly, nullable, retain, NS_NONATOMIC_IOSONLY) NSString *playerID API_DEPRECATED_WITH_REPLACEMENT("Use ``GKPlayer/gamePlayerID`` or ``GKPlayer/teamPlayerID`` instead.", ios(10.0,13.0), macos(10.12,10.15), tvos(10.0,13.0), visionos(1.0,1.0), watchos(3.0,6.0));