Skip to content

Messages iOS xcode27.0 b1

Alex Soto edited this page Jun 9, 2026 · 1 revision

#Messages.framework

diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSUPIRequest.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSUPIRequest.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSUPIRequest.h	1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSUPIRequest.h	2026-05-30 01:50:23
@@ -0,0 +1,53 @@
+/*!
+ @header     MSUPIRequest
+ @copyright  Copyright (c) 2026 Apple Inc. All rights reserved.
+ */
+
+#import <Foundation/Foundation.h>
+#import <Messages/MessagesDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+#if TARGET_OS_IOS
+
+/*!
+ @class         MSUPIRequest
+ @abstract      Request for UPI (Unified Payments Interface) device validation.
+ @discussion    In order to use this API, you must use the managed entitlement `com.apple.developer.upi-device-validation`. This API is only functional on devices with SMS capability, and only compatible with non-iMessagable recipients.
+ */
+API_AVAILABLE(ios(27.0), macCatalyst(27.0), visionos(27.0)) API_UNAVAILABLE(macos, watchos, tvos);
+MESSAGES_EXTERN
+@interface MSUPIRequest : NSObject
+
+/*!
+ @property   validationToken
+ @abstract   The validation token to be sent.
+*/
+@property (nonatomic, copy, readonly) NSString *validationToken;
+
+/*!
+ @property   recipients
+ @abstract   The SMS recipients who will receive the UPI validation message.
+ */
+@property (nonatomic, copy, readonly) NSArray <NSString *>*recipients;
+
+/*!
+ @method     initWithValidationToken:recipients:
+ @abstract   Creates a new UPI request with the specified validation token and recipients.
+ @param      validationToken  The validation token to be sent.
+ @param      recipients  The SMS recipients who will receive the UPI validation message.
+*/
+- (instancetype)initWithValidationToken:(NSString *)validationToken recipients:(NSArray<NSString *> *)recipients;
+
+/*!
+ @method     sendWithCompletionHandler:
+ @abstract   Sends this UPI request.
+ @param      completionHandler  A completion handler called when the message has been sent or has failed to send.
+ */
+- (void)sendWithCompletionHandler:(void (^)(BOOL sent))completionHandler;
+
+@end
+
+#endif
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/Messages.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/Messages.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/Messages.h	2026-04-23 02:13:06
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/Messages.h	2026-05-30 01:50:23
@@ -26,3 +26,5 @@
 #import <Messages/MSStickerView.h>
 
 #import <Messages/MSMessageError.h>
+
+#import <Messages/MSUPIRequest.h>

Clone this wiki locally