-
Notifications
You must be signed in to change notification settings - Fork 514
CoreTelephony iOS xcode14.0 beta3
Manuel de la Pena edited this page Jul 18, 2022
·
3 revisions
#CoreTelephony.framework https://github.com/xamarin/xamarin-macios/pull/15533
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h 2022-06-17 14:29:02.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCarrier.h 2022-06-30 21:10:14.000000000 -0500
@@ -13,7 +13,7 @@
NS_ASSUME_NONNULL_BEGIN
-CORETELEPHONY_CLASS_AVAILABLE(4_0)
+CORETELEPHONY_CLASS_DEPRECATED(4_0, 16_0, "Deprecated with no replacement")
@interface CTCarrier : NSObject
/*
@@ -22,7 +22,10 @@
* Discussion:
* An NSString containing the name of the subscriber's cellular service provider.
*/
-@property (nonatomic, readonly, retain, nullable) NSString *carrierName __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
+@property (nonatomic, readonly, retain, nullable) NSString *carrierName
+API_UNAVAILABLE(macos, tvos)
+API_DEPRECATED("Deprecated; returns '--' at some point in the future", ios(4.0, 16.0), watchos(3.0, 9.0))
+;
/*
* mobileCountryCode
@@ -31,7 +34,11 @@
* An NSString containing the mobile country code for the subscriber's
* cellular service provider, in its numeric representation
*/
-@property (nonatomic, readonly, retain, nullable) NSString *mobileCountryCode __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
+@property (nonatomic, readonly, retain, nullable) NSString *mobileCountryCode
+API_UNAVAILABLE(macos, tvos)
+API_DEPRECATED("Deprecated; returns '65535' at some point in the future", ios(4.0, 16.0), watchos(3.0, 9.0))
+;
+
/*
* mobileNetworkCode
@@ -40,7 +47,11 @@
* An NSString containing the mobile network code for the subscriber's
* cellular service provider, in its numeric representation
*/
-@property (nonatomic, readonly, retain, nullable) NSString *mobileNetworkCode __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
+@property (nonatomic, readonly, retain, nullable) NSString *mobileNetworkCode
+API_UNAVAILABLE(macos, tvos)
+API_DEPRECATED("Deprecated; returns '65535' at some point in the future", ios(4.0, 16.0), watchos(3.0, 9.0))
+;
+
/*
* isoCountryCode
@@ -51,7 +62,10 @@
* country code string
*/
-@property (nonatomic, readonly, retain, nullable) NSString* isoCountryCode __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
+@property (nonatomic, readonly, retain, nullable) NSString* isoCountryCode
+API_UNAVAILABLE(macos, tvos)
+API_DEPRECATED("Deprecated; returns '--' at some point in the future", ios(4.0, 16.0), watchos(3.0, 9.0))
+;
/*
* allowsVOIP
@@ -61,7 +75,10 @@
* made on its network, NO otherwise.
*/
-@property (nonatomic, readonly, assign) BOOL allowsVOIP __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_4_0);
+@property (nonatomic, readonly, assign) BOOL allowsVOIP
+API_UNAVAILABLE(macos, tvos)
+API_DEPRECATED("Deprecated; returns YES at some point in the future", ios(4.0, 16.0), watchos(3.0, 9.0))
+;
@end
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h 2022-06-17 14:29:02.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTCellularPlanProvisioning.h 2022-06-30 21:10:14.000000000 -0500
@@ -15,6 +15,8 @@
CORETELEPHONY_CLASS_AVAILABLE(12_0)
@interface CTCellularPlanProvisioning : NSObject
+@property (nonatomic, readonly) BOOL supportsEmbeddedSIM __API_AVAILABLE(ios(16.0));
+
- (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);
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status