-
Notifications
You must be signed in to change notification settings - Fork 520
MessageUI iOS xcode15.0 b1
Manuel de la Pena edited this page Sep 25, 2023
·
3 revisions
#MessageUI.framework https://github.com/xamarin/xamarin-macios/pull/19096
diff -ruN /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h
--- /Applications/Xcode_14.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController+UPI.h 2023-06-01 01:37:32
@@ -0,0 +1,31 @@
+#import <MessageUI/MFMessageComposeViewController.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MFMessageComposeViewController (UPI)
+
+/// @method setUPIVerificationCodeSendCompletion:
+/// @abstract Configures the instance of `MFMessageComposeViewController` for UPI device validation
+/// @discussion If the host app has the `com.apple.developer.upi-device-validation` managed entitlement, this
+/// will configure the instance of `MFMessageComposeViewController` with non-editable recipients
+/// and body fields. This API is only functional on devices with SMS capability and is only
+/// compatible with non-iMessagable recipients. The send completion handler will be invoked with
+/// `YES` only once the SMS was successfully transmitted to the sender's cellular carrier. If the
+/// SMS failed to send, the completion handler will be invoked with `NO`.
+///
+/// The completion handler will be in invoked on the main thread. It will only be invoked after
+/// `MFMessageComposeViewController` delegate's `-messageComposeViewController:didFinishWithResult:`
+/// method was called. That method is called in response to user action (the user hit cancel or
+/// send); the send completion handler is called with the transmission result of the message. It
+/// will not be called at all if `-messageComposeViewController:didFinishWithResult:` was not
+/// called with `MessageComposeResultSent`.
+///
+/// Because it can take some time to send a message, the completion handler could be invoked
+/// after the `MFMessageComposeViewController` instance is deallocated.
+/// @param completion A block invoked with a BOOL of whether the message was actually sent.
+- (void)setUPIVerificationCodeSendCompletion:(void (^)(BOOL didSend))completion NS_SWIFT_DISABLE_ASYNC API_AVAILABLE(ios(17.0));
+
+@end
+
+NS_ASSUME_NONNULL_END
- 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