-
Notifications
You must be signed in to change notification settings - Fork 572
UIKit iOS xcode27.0 b3
Alex Soto edited this page Jul 7, 2026
·
1 revision
#UIKit.framework
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h 2026-06-18 02:15:48
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h 2026-07-02 03:12:21
@@ -57,6 +57,10 @@
/// Use an image for the shadow. See shadowColor for how they interact.
@property (nonatomic, readwrite, strong, nullable) UIImage *shadowImage;
+/// Overrides the userInterfaceStyle of the bar.
+@property (nonatomic, readwrite, assign) UIUserInterfaceStyle overrideUserInterfaceStyle
+ API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos);
+
@end
NS_HEADER_AUDIT_END(nullability, sendability)
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarMinimization.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarMinimization.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarMinimization.h 1969-12-31 19:00:00
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarMinimization.h 2026-06-27 18:33:40
@@ -0,0 +1,90 @@
+#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include(<UIKitCore/UIBarMinimization.h>)
+//
+// UIBarMinimization.h
+// UIKit
+//
+// Copyright © 2026 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_HEADER_AUDIT_BEGIN(nullability, sendability)
+
+typedef NS_ENUM(NSInteger, UIBarMinimizationBehavior) {
+ /// The system determines the minimization behavior.
+ UIBarMinimizationBehaviorAutomatic = 0,
+ /// Bar minimization is disabled.
+ UIBarMinimizationBehaviorNever API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+ /// Minimize when the user scrolls down.
+ UIBarMinimizationBehaviorOnScrollDown API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+ /// Minimize when the user scrolls up.
+ UIBarMinimizationBehaviorOnScrollUp API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+} API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+
+typedef NS_ENUM(NSInteger, UIBarMinimizationSafeAreaAdjustment) {
+ /// The system determines the safe area adjustment.
+ UIBarMinimizationSafeAreaAdjustmentAutomatic = 0,
+ /// The safe area adjusts as bars minimize, allowing content to reflow.
+ UIBarMinimizationSafeAreaAdjustmentEnabled API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+ /// The safe area remains unchanged as bars minimize.
+ UIBarMinimizationSafeAreaAdjustmentDisabled API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+} API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+
+typedef NS_ENUM(NSInteger, UIBarMinimizationRestorationBehavior) {
+ /// The system determines the restoration behavior.
+ ///
+ /// By default, the bar restores when the user reverses scroll direction.
+ /// The system selects ``UIBarMinimizationRestorationBehaviorAtScrollEdge``
+ /// automatically for navigation items whose `preferredSearchBarPlacement`
+ /// is `.integratedCentered`.
+ UIBarMinimizationRestorationBehaviorAutomatic = 0,
+ /// The bar restores only when the observed scroll view's content reaches the scroll edge.
+ ///
+ /// Currently this is only honored alongside
+ /// ``UIBarMinimizationBehaviorOnScrollDown``. With other minimization
+ /// behaviors, the system falls back to ``UIBarMinimizationRestorationBehaviorAutomatic``.
+ UIBarMinimizationRestorationBehaviorAtScrollEdge API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
+} API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+
+/// A configuration that controls how a navigation bar minimizes in response to scrolling.
+///
+/// Access this configuration through ``UINavigationItem/navigationBarMinimization``
+/// and set its properties to customize minimization.
+UIKIT_EXTERN NS_SWIFT_UI_ACTOR NS_REFINED_FOR_SWIFT
+API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos)
+@interface UIBarMinimization : NSObject <NSCopying, NSSecureCoding>
+
+/// The minimization behavior.
+///
+/// When the navigation bar minimizes, an integrated top tab bar will also minimize.
+///
+/// The default value is ``UIBarMinimizationBehaviorAutomatic``.
+@property (nonatomic, assign) UIBarMinimizationBehavior minimizationBehavior;
+
+/// The safe area adjustment during minimization.
+///
+/// Currently, only the navigation bar supports customizing the safe area adjustment.
+///
+/// The default value is ``UIBarMinimizationSafeAreaAdjustmentAutomatic``.
+@property (nonatomic, assign) UIBarMinimizationSafeAreaAdjustment safeAreaAdjustment;
+
+/// The restoration behavior.
+///
+/// Use this property alongside ``minimizationBehavior`` to control when a
+/// minimized navigation bar restores. By default the bar restores when the
+/// user reverses scroll direction; with ``UIBarMinimizationRestorationBehaviorAtScrollEdge``,
+/// the bar instead restores only when the scroll view's content reaches the
+/// scroll edge. Currently only honored in combination with
+/// ``UIBarMinimizationBehaviorOnScrollDown``.
+///
+/// The default value is ``UIBarMinimizationRestorationBehaviorAutomatic``.
+@property (nonatomic, assign) UIBarMinimizationRestorationBehavior restorationBehavior;
+
+@end
+
+
+NS_HEADER_AUDIT_END(nullability, sendability)
+
+#else
+#import <UIKitCore/UIBarMinimization.h>
+#endif
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h 2026-06-18 00:48:07
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h 2026-06-27 19:19:18
@@ -41,6 +41,7 @@
#import <UIKit/UIBarButtonItemGroup.h>
#import <UIKit/UIBarButtonItemBadge.h>
#import <UIKit/UIBarItem.h>
+#import <UIKit/UIBarMinimization.h>
#import <UIKit/UIButton.h>
#import <UIKit/UIButtonConfiguration.h>
#import <UIKit/UICollectionView.h>
diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h 2026-06-18 00:40:02
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h 2026-07-02 03:12:19
@@ -10,6 +10,7 @@
#import <UIKit/UIView.h>
#import <UIKit/UIKitDefines.h>
#import <UIKit/UIBarButtonItem.h>
+#import <UIKit/UIBarMinimization.h>
@class UISearchController, UINavigationBarAppearance, UIDocumentProperties, UIDeferredMenuElement;
@class UINavigationItem;
@@ -62,26 +63,6 @@
UINavigationItemStyleEditor,
} NS_SWIFT_NAME(UINavigationItem.ItemStyle) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos);
-typedef NS_ENUM(NSInteger, UIBarMinimizeBehavior) {
- /// The system determines the minimize behavior.
- UIBarMinimizeBehaviorAutomatic = 0,
- /// Bar minimization is disabled.
- UIBarMinimizeBehaviorNever API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
- /// Minimize when the user scrolls down.
- UIBarMinimizeBehaviorOnScrollDown API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
- /// Minimize when the user scrolls up.
- UIBarMinimizeBehaviorOnScrollUp API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
-} API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
-
-typedef NS_ENUM(NSInteger, UIBarMinimizationSafeAreaAdjustment) {
- /// The system determines the safe area adjustment.
- UIBarMinimizationSafeAreaAdjustmentAutomatic = 0,
- /// The safe area adjusts as bars minimize, allowing content to reflow.
- UIBarMinimizationSafeAreaAdjustmentEnabled API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
- /// The safe area remains unchanged as bars minimize.
- UIBarMinimizationSafeAreaAdjustmentDisabled API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos),
-} API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
-
UIKIT_EXTERN API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
@protocol UINavigationItemRenameDelegate <NSObject>
@@ -290,23 +271,16 @@
/// When set and this item is topmost, overrides the hosting navigation bar's compactScrollEdgeAppearance. See UINavigationBar.h for further details.
@property (nonatomic, readwrite, copy, nullable) UINavigationBarAppearance *compactScrollEdgeAppearance API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos);
-/// The minimize behavior for the navigation bar.
-///
-/// The default value is ``UIBarMinimizeBehavior/automatic``.
-/// When the navigation bar minimizes, an integrated top tab bar
-/// will also minimize.
-///
-/// By default, the safe area adjusts as the navigation bar minimizes.
-/// Use ``barMinimizationSafeAreaAdjustment`` to customize this.
-@property (nonatomic, readwrite, assign) UIBarMinimizeBehavior barMinimizeBehavior API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+@end
-/// The safe area adjustment during navigation bar minimization.
+@interface UINavigationItem (Minimization)
+
+/// The minimization configuration for the navigation bar.
///
-/// Currently, only the navigation bar supports customizing the safe
-/// area adjustment.
-///
-/// The default value is ``UIBarMinimizationSafeAreaAdjustment/automatic``.
-@property (nonatomic, readwrite, assign) UIBarMinimizationSafeAreaAdjustment barMinimizationSafeAreaAdjustment API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+/// Set the properties of this configuration to control how the navigation
+/// bar minimizes in response to scrolling. When the navigation bar
+/// minimizes, an integrated top tab bar will also minimize.
+@property (nonatomic, readwrite, copy) UIBarMinimization *navigationBarMinimization NS_REFINED_FOR_SWIFT API_AVAILABLE(ios(27.0), tvos(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
@end