-
Notifications
You must be signed in to change notification settings - Fork 558
UIKit MacCatalyst xcode26.4 b2
Rolf Bjarne Kvinge edited this page Feb 27, 2026
·
1 revision
#UIKit.framework
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h 2025-11-09 04:48:35
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h 2026-02-16 08:11:56
@@ -289,8 +289,21 @@
/// The scroll view must be focused or first responder in order to receive these key events. Default is YES for apps linked after iOS 17.0.
@property (nonatomic, assign) BOOL allowsKeyboardScrolling API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(tvos);
-/// Defines which axes are considered for Look to Scroll.
-/// Does not affect when isPagingEnabled is true.
+/// Setting lookToScrollAxes turns on Look to Scroll for the scroll view in directions of the defined axis
+///
+/// When enabling Look to Scroll, you should consider the type of content that is in the scroll view.
+/// For best experience, this API should be on scrolling area of an app that's considered "content".
+/// Examples:
+/// - The message body area in Mail, but not the list of messages that's considered navigation.
+/// - The note body in Notes
+/// - In TV app, the tile design including both horizontal and vertical scrolling views.
+///
+/// Note: Look to Scroll is designed for large and meaningful content. For privacy reasons, exceedingly small scroll views or having an unusually high number of scroll views in a scene could cause Look to Scroll to auto disable.
+///
+/// Additional requirements for enabling Look to Scroll
+/// - There can only be a max of 6 gaze scrolling scroll view per scene
+/// - isPagingEnabled must not be enabled
+///
@property (nonatomic) UIAxis lookToScrollAxes API_AVAILABLE(visionos(26.0)) API_UNAVAILABLE(ios, watchos, tvos);
@end
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h 2025-11-09 05:38:17
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h 2026-02-17 05:57:01
@@ -272,6 +272,16 @@
/// Inserts the user or system’s input suggestion into the document.
- (void)insertInputSuggestion:(UIInputSuggestion *)inputSuggestion API_AVAILABLE(ios(18.4)) API_UNAVAILABLE(tvos, watchos, visionos, macCatalyst);
+/// The visible content region, excluding parts covered by view-specific UI.
+///
+/// Account for scroll position, insets, and any custom UI elements (toolbars,
+/// accessories, etc.) that obscure content. The system automatically accounts for
+/// keyboard obscuring when editing.
+///
+/// The rectangle is in the `textInputView` coordinate space.
+/// @return The visible content rectangle, or CGRectNull if there is no specific constraint.
+@property (nonatomic, readonly) CGRect unobscuredContentRect API_AVAILABLE(ios(26.4), tvos(26.4), visionos(26.4), watchos(26.4), macos(26.4));
+
@end
//---------------------------------------------------------------------------------------------------
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h 2025-11-14 06:56:00
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h 2026-02-17 05:57:10
@@ -60,9 +60,8 @@
/// The coordinator starts in the `inactive` state, and transitions
/// immediately to the ``noninteractive`` or ``interactiveResting``
/// state when someone chooses an option from the Writing Tools UI.
- /// After the coordinator finishes incorporating any changes for the
- /// current operation, it returns to the `inactive` state and waits
- /// for the person to choose a different option or dismiss the Writing Tools UI.
+ /// The coordinator returns to the `inactive` state when the person
+ /// accepts the changes or dismisses the Writing Tools UI.
UIWritingToolsCoordinatorStateInactive, // Writing Tools is not active
/// A state that indicates Writing Tools is handling interactions in