-
Notifications
You must be signed in to change notification settings - Fork 543
CoreTelephony iOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#CoreTelephony.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h 2025-04-19 04:52:25
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCall.h 2025-05-30 07:04:37
@@ -13,12 +13,12 @@
NS_ASSUME_NONNULL_BEGIN
-CORETELEPHONY_EXTERN NSString * const CTCallStateDialing __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
-CORETELEPHONY_EXTERN NSString * const CTCallStateIncoming __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
-CORETELEPHONY_EXTERN NSString * const CTCallStateConnected __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
-CORETELEPHONY_EXTERN NSString * const CTCallStateDisconnected __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
+CORETELEPHONY_EXTERN NSString * const CTCallStateDialing __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
+CORETELEPHONY_EXTERN NSString * const CTCallStateIncoming __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
+CORETELEPHONY_EXTERN NSString * const CTCallStateConnected __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
+CORETELEPHONY_EXTERN NSString * const CTCallStateDisconnected __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
-CORETELEPHONY_CLASS_AVAILABLE(4_0)
+CORETELEPHONY_CLASS_DEPRECATED(4_0, 10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties")
@interface CTCall : NSObject
{
@private
@@ -35,7 +35,7 @@
* to CTCallStateConnected when the call is established with all parties
* involved and will move to CTCallStateDisconnected when this call is terminated.
*/
-@property(nonatomic, readonly, copy) NSString *callState __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
+@property(nonatomic, readonly, copy) NSString *callState __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
/*
* callID
@@ -44,7 +44,7 @@
* A unique identifier for this call to be used by clients to differentiate
* multiple active calls.
*/
-@property(nonatomic, readonly, copy) NSString *callID __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCall.h> properties");
+@property(nonatomic, readonly, copy) NSString *callID __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCall.h> properties");
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h 2025-04-19 04:52:25
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCallCenter.h 2025-05-30 07:04:37
@@ -15,7 +15,7 @@
NS_ASSUME_NONNULL_BEGIN
-CORETELEPHONY_CLASS_DEPRECATED(4_0, 10_0, "Replaced by CXCallObserver from CallKit.framework")
+CORETELEPHONY_CLASS_DEPRECATED(4_0, 10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCallObserver.h>")
@interface CTCallCenter : NSObject
/*
@@ -26,7 +26,7 @@
* in progress. If no calls are active, this will be nil.
*
*/
-@property(readonly, retain, nullable) NSSet<CTCall*> *currentCalls __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCallObserver.h>");
+@property(readonly, retain, nullable) NSSet<CTCall*> *currentCalls __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCallObserver.h>");
/*
* callEventHandler
@@ -36,7 +36,7 @@
* queue when a new call event occurs. Set this property to a block
* that is defined in your application to handle call events.
*/
-@property(nonatomic, copy, nullable) void (^callEventHandler)(CTCall*) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Replaced by <CallKit/CXCallObserver.h>");
+@property(nonatomic, copy, nullable) void (^callEventHandler)(CTCall*) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_NA, __MAC_NA, __IPHONE_4_0, __IPHONE_10_0, "Obsolete and will be a useless stub before final removal. Replaced by <CallKit/CXCallObserver.h>");
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProperties.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProperties.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProperties.h 1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProperties.h 2025-05-30 07:04:37
@@ -0,0 +1,37 @@
+//
+// CTCellularPlanProperties.h
+// CFTelephony
+//
+// Copyright © 2025 Apple Inc. All rights reserved.
+//
+
+#ifdef __OBJC__
+
+#import <Foundation/Foundation.h>
+#import <CoreTelephony/CoreTelephonyDefines.h>
+
+API_AVAILABLE_BEGIN(ios(26.0), watchos(26.0))
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_SWIFT_NAME(CTCellularPlanProperties.Capability)
+typedef NS_ENUM(NSInteger, CTCellularPlanCapability) {
+ CTCellularPlanCapabilityDataOnly,
+ CTCellularPlanCapabilityDataAndVoice
+};
+
+CORETELEPHONY_EXTERN_CLASS
+API_UNAVAILABLE(macos, tvos)
+@interface CTCellularPlanProperties : NSObject<NSSecureCoding>
+
+@property (nonatomic, readwrite, nullable) NSString* associatedIccid API_UNAVAILABLE(macos, tvos);
+@property (nonatomic, readwrite) CTCellularPlanCapability simCapability API_UNAVAILABLE(macos, tvos);
+@property (nonatomic, readwrite, nonnull) NSArray<NSString*>* supportedRegionCodes API_UNAVAILABLE(macos, tvos) NS_REFINED_FOR_SWIFT;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+API_AVAILABLE_END
+
+#endif // __OBJC__
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h 2025-04-19 04:52:25
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h 2025-05-30 07:04:37
@@ -9,6 +9,7 @@
#import <Foundation/Foundation.h>
#import <CoreTelephony/CoreTelephonyDefines.h>
#import <CoreTelephony/CTCellularPlanProvisioningRequest.h>
+#import <CoreTelephony/CTCellularPlanProperties.h>
NS_ASSUME_NONNULL_BEGIN
@@ -20,6 +21,10 @@
- (BOOL)supportsCellularPlan __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_12_0);
- (void)addPlanWith:(CTCellularPlanProvisioningRequest *)request completionHandler:(void (^)(CTCellularPlanProvisioningAddPlanResult result))completionHandler __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_12_0) API_UNAVAILABLE(macos, tvos);
+
+- (void)addPlanWithRequest:(CTCellularPlanProvisioningRequest *)request properties:(CTCellularPlanProperties * _Nullable)properties completionHandler:(void (^)(CTCellularPlanProvisioningAddPlanResult result))completionHandler NS_SWIFT_NAME(addPlan(request:properties:completionHandler:)) __API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, tvos);
+
+- (void)updateCellularPlanProperties:(CTCellularPlanProperties *)properties completionHandler:(void (^)(NSError* _Nullable error))completionHandler __API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, tvos);
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanStatus.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanStatus.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanStatus.h 1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanStatus.h 2025-05-30 07:04:37
@@ -0,0 +1,25 @@
+//
+// CTCellularPlanStatus.h
+// CFTelephony
+//
+// Copyright © 2025 Apple Inc. All rights reserved.
+//
+
+#ifdef __OBJC__
+
+#import <Foundation/Foundation.h>
+#import <CoreTelephony/CoreTelephonyDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+CORETELEPHONY_CLASS_AVAILABLE(19_0)
+@interface CTCellularPlanStatus : NSObject
+
++ (void) getTokenWithCompletion:(void (^)(NSString * _Nullable token, NSError* _Nullable error))completionHandler __API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, tvos, watchos);
++ (void) checkValidityOfToken:(NSString *)token completionHandler:(void (^)(BOOL isValid, NSError* _Nullable error))completionHandler __API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, tvos, watchos);
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif // __OBJC__
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h 2025-04-19 04:52:25
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTSubscriber.h 2025-05-30 07:04:37
@@ -44,7 +44,7 @@
*/
@property (nonatomic, readonly, retain, nullable) NSData* carrierToken
API_UNAVAILABLE(macos, tvos, visionos)
-API_AVAILABLE(ios(7.0), watchos(12.0))
+API_AVAILABLE(ios(7.0), watchos(26.0))
;
/*
@@ -63,7 +63,7 @@
*/
- (BOOL)refreshCarrierToken
API_UNAVAILABLE(macos, tvos, visionos)
-API_AVAILABLE(ios(6.0),watchos(12.0))
+API_AVAILABLE(ios(6.0),watchos(26.0))
;
/*