Skip to content

Messages iOS xcode26.0 b1

Rolf Bjarne Kvinge edited this page Jun 20, 2025 · 2 revisions

#Messages.framework

Rolf

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSMessagesAppViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSMessagesAppViewController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSMessagesAppViewController.h	2025-04-29 23:41:05
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Messages.framework/Headers/MSMessagesAppViewController.h	2025-06-02 01:55:17
@@ -46,6 +46,20 @@
  */
 - (CGSize)contentSizeThatFits:(CGSize)size NS_AVAILABLE_IOS(11_0);
 
+/*!
+ @property   messageTintColor
+ @abstract   Override to provide a message tint color, e.g. to match the content of the message, or your app's brand color.
+ @discussion This color will be drawn either in a material or as a solid color, depending on transcript context. The default value is nil, which renders the plugin balloon with the system standard background color. This must be a simple RGB color - other color types such as displayP3 or pattern images are not supported. This also does not support dynamic colors. If your color needs to be dynamic, you must call `invalidateMessageTintColor` when the dynamic conditions change.
+*/
+@property (nonatomic, readonly, nullable) UIColor *messageTintColor API_AVAILABLE(ios(26.0));
+
+/*!
+ @method     invalidateMessageTintColor
+ @abstract   Call this when `messageTintColor` changes, e.g. due to change in app state or trait collection.
+ @discussion The message will be updated to reflect the new color. This method will only work if the `presentationStyle` is `MSMessagesAppPresentationStyleTranscript`.
+*/
+- (void)invalidateMessageTintColor API_AVAILABLE(ios(26.0));
+
 @end
 
 
Clone this wiki locally