Skip to content

UIKit iOS xcode27.0 b5

Alex Soto edited this page Aug 10, 2026 · 1 revision

#UIKit.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h	2026-07-16 02:09:21
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISheetPresentationController.h	2026-08-04 13:15:24
@@ -28,6 +28,18 @@
 const CGFloat UISheetPresentationControllerDetentInactive;
 
 
+typedef NS_ENUM(NSInteger, UISheetPresentationControllerPlacement) {
+    // The system determines the placement of the sheet.
+    UISheetPresentationControllerPlacementAutomatic,
+    // Places the sheet on the leading edge of the presenting view.
+    UISheetPresentationControllerPlacementLeading API_UNAVAILABLE(tvos, visionos),
+    // Centers the sheet within the presenting view.
+    UISheetPresentationControllerPlacementCenter API_UNAVAILABLE(tvos, visionos),
+    // Places the sheet on the trailing edge of the presenting view.
+    UISheetPresentationControllerPlacementTrailing API_UNAVAILABLE(tvos, visionos),
+} NS_SWIFT_NAME(UISheetPresentationController.Placement) API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+
+
 // A context used for resolving custom UISheetPresentationControllerDetent values.
 UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos, visionos) NS_SWIFT_UI_ACTOR
 @protocol UISheetPresentationControllerDetentResolutionContext <NSObject>
@@ -101,6 +113,11 @@
 // If specified, the sheet will attempt to visually center itself over this view.
 // Default: nil
 @property (nonatomic, strong, nullable) UIView *sourceView;
+
+// The placement of the sheet within the presenting view.
+// The default value is UISheetPresentationControllerPlacementAutomatic.
+// This property is ignored when sourceView is non-nil.
+@property (nonatomic) UISheetPresentationControllerPlacement preferredPlacement API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
 
 // Whether the sheet sizes itself for readable content.
 // When YES, this maps to the behavior of UIModalPresentationPageSheet, where the sheet width follows the readable width.
diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h	2026-07-11 04:17:16
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h	2026-08-05 01:47:28
@@ -65,6 +65,8 @@
 ///   system cannot construct a display link.
 - (nullable CADisplayLink *)displayLinkWithTarget:(id)target selector:(SEL)sel NS_SWIFT_NAME(displayLink(target:selector:)) API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
 
+/// Indicates whether the window scene is full screen or windowed
+/// - Note: Only supported on Mac Catalyst
 @property (nonatomic, readonly, getter=isFullScreen) BOOL fullScreen API_AVAILABLE(macCatalyst(16.0)) API_UNAVAILABLE(watchos);
 
 /// A configuration describing a confirmation dialog to be shown when a user action will result in destruction of the scene session and disconnection of the scene.
diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h	2026-07-11 04:17:22
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWritingToolsCoordinator.h	2026-08-04 13:15:25
@@ -518,6 +518,11 @@
 /// the user interacts with an issue, call this to bring up the relevant UI.
 ///
 /// Pass in context and range to identify the issue the user selected.
+/// The context must match one of the contexts returned from
+/// ``UIWritingToolsCoordinator/Delegate/writingToolsCoordinator(_:requestsContextsFor:completion:)``
+/// and the range must match the range in the context of one
+/// of the grammar details returned for that context from
+/// ``UIWritingToolsCoordinator/Delegate/writingToolsCoordinator(_:requestsGrammarResultsFor:completion:)``
 /// Returns NO if the UI cannot be brought up.
 - (BOOL)showGrammarPresentationForRange:(NSRange)range inContext:(UIWritingToolsCoordinatorContext *)context API_AVAILABLE(ios(27.0));
 

Clone this wiki locally