- Notifications
You must be signed in to change notification settings - Fork548
UIKit iOS xcode26.1 b2
Rolf Bjarne Kvinge edited this pageOct 15, 2025 ·2 revisions
#UIKit.frameworkhttps://github.com/dotnet/macios/pull/24013
diff -ruN /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h--- /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h2025-09-17 08:16:22+++ /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h2025-09-29 07:02:24@@ -28,7 +28,6 @@ @property (nonatomic, readonly) UIDocumentBrowserActionAvailability availability; @property (nonatomic, strong, nullable) UIImage *image;-@property (nonatomic, strong, nullable) UIImage *imageOnlyForContextMenu; /// Allows clients to restrict the action to only a specific set of content types. Default: [UTTypeItem.identifier] @property (nonatomic, copy) NSArray<NSString*> *supportedContentTypes;diff -ruN /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h--- /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h2025-09-08 06:07:10+++ /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabGroup.h2025-10-01 06:35:00@@ -42,7 +42,7 @@ @property (nonatomic, copy) NSArray<NSString *> *displayOrderIdentifiers; /// Determines if elements in `children` can be reordered from the sidebar. Default is NO.-/// Changes in the display order are notified via `tabBarController:didCustomizeDisplayOrderForGroup:`+/// Changes in the display order are notified via `tabBarController:displayOrderDidChangeForGroup:` /// in `UITabBarControllerDelegate`. @property (nonatomic, assign) BOOL allowsReordering;@@ -78,6 +78,13 @@ /// The preferred appearance of the group and its children in the sidebar. Default is `automatic` @property (nonatomic, assign) UITabGroupSidebarAppearance sidebarAppearance API_UNAVAILABLE(tvos, watchos);++/// Determines if the tab group itself can be selected as a destination in the sidebar.+///+/// By default, tab groups are not destinations when displayed in the sidebar, and cannot be selected directly+/// by users. When enabled, the tab group becomes a selectable item in the sidebar, and will no longer perform+/// automatic selection for a default child if no child is currently selected. The default value is NO.+@property (nonatomic, assign) BOOL isSidebarDestination API_AVAILABLE(ios(26.0), visionos(26.0)) API_UNAVAILABLE(tvos, watchos); /// Creates a `UITabGroup` using the specified parameters. - (instancetype)initWithTitle:(NSString *)titlediff -ruN /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h--- /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h2025-09-17 08:34:14+++ /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h2025-10-01 06:47:33@@ -717,15 +717,29 @@ @interface UIViewController ()-/// Override to return a child view controller or nil. If non-nil, that view controller's preference for interface orientation lock will be used. If nil, `self` is used.-/// Whenever the return value changes, call `setNeedsUpdateOfPrefersInterfaceOrientationLocked()`.+/// A child view controller to query for the interface orientation lock preference.+///+/// Override to return a child view controller or `nil`. If you return a view controller, the system uses that view controller’s preference for interface orientation lock. If you+/// return `nil`, the system uses `self` to get the preference for interface orientation lock. Call ``UIViewController/setNeedsUpdateOfPrefersInterfaceOrientationLocked()``+/// if the child view controller that the system needs to query for the interface orientation lock preference changes. @property (nonatomic, readonly, nullable) UIViewController *childViewControllerForInterfaceOrientationLock API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos) NS_SWIFT_NAME(childForInterfaceOrientationLock);-/// Whether this view controller prefers the scene's interface orientation to be locked when shown. The default is `NO`. Note that this preference may or may not be honored.-/// See `UIWindowScene.Geometry` for the current state of interface orientation lock.+/// A Boolean value that indicates whether the view controller prefers to lock the scene's interface orientation when the scene is visible.+///+/// The default is <doc://com.apple.documentation/documentation/swift/false>. Set this property to <doc://com.apple.documentation/documentation/swift/true>+/// to indicate the view controller's preference to lock the scene's interface orientation. Check ``UIWindowScene.effectiveGeometry.isInterfaceOrientationLocked``+/// for the current state of the interface orientation lock. The system will consider locking the interface orientation when these conditions are true:+///+/// - The scene is centered on the screen+/// - The scene is the same size as the screen+/// - The scene is not occluded by another scene+///+/// The system continuously monitors the state and when the app no longer satisfies the requirements, it disables the interface orientation lock.+///+/// If you change the value of `prefersInterfaceOrientationLocked`, call ``UIViewController/setNeedsUpdateOfPrefersInterfaceOrientationLocked()``. @property (nonatomic, readonly) BOOL prefersInterfaceOrientationLocked API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos);-/// Call whenever the view controller's preference for interface orientation lock has changed+/// Indicates that the view controller changed the interface orientation lock preference. - (void)setNeedsUpdateOfPrefersInterfaceOrientationLocked API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos, tvos); @enddiff -ruN /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h--- /Applications/Xcode_26.1.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h2025-09-17 08:34:10+++ /Applications/Xcode_26.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h2025-10-01 06:35:04@@ -16,6 +16,18 @@ @end+@class UIColor;++/// A visual effect that applies a solid color background.+UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR+@interface UIColorEffect : UIVisualEffect++/// Creates a color effect with the specified color.+/// @param color The color to use for the background.++ (instancetype)effectWithColor:(nullable UIColor *)color API_AVAILABLE(ios(26.1)) API_UNAVAILABLE(watchos);++@end+ NS_HEADER_AUDIT_END(nullability, sendability) #else