UIKit iOS 16.0 20A5283m to 20A5303f API Differences

UIButtonConfiguration.h
Added UIButtonConfigurationIndicator
Added UIButtonConfigurationIndicatorAutomatic
Added UIButtonConfigurationIndicatorNone
Added UIButtonConfigurationIndicatorPopup
Added UIButtonConfiguration.indicator
Added UIButtonConfiguration.indicatorColorTransformer
UIPasteControl.h
Removed UIPasteControlCornerStyle
Removed UIPasteControlCornerStyleNone
Removed UIPasteControlCornerStyleSmall
Removed UIPasteControlCornerStyleMedium
Removed UIPasteControlCornerStyleLarge
Removed UIPasteControlCornerStyleCapsule
Added UIPasteControlConfiguration.cornerRadius
Modified UIPasteControlConfiguration.displayMode
Declaration
From@property (nonatomic) UIPasteControlDisplayMode displayMode
To@property (nonatomic, assign) UIPasteControlDisplayMode displayMode

Modified UIPasteControlConfiguration.cornerStyle
Declaration
From@property (nonatomic) UIPasteControlCornerStyle cornerStyle
To@property (nonatomic, assign) UIButtonConfigurationCornerStyle cornerStyle

Modified UIPasteControlConfiguration.baseForegroundColor
Declaration
From@property (nonatomic, nullable) UIColor *baseForegroundColor
To@property (nonatomic, strong, nullable) UIColor *baseForegroundColor

Modified UIPasteControlConfiguration.baseBackgroundColor
Declaration
From@property (nonatomic, nullable) UIColor *baseBackgroundColor
To@property (nonatomic, strong, nullable) UIColor *baseBackgroundColor

UISearchController.h
Added UISearchController.ignoresSearchSuggestionsForSearchBarPlacementStacked
UIViewController.h
Added -[UIViewController setNeedsUpdateOfSupportedInterfaceOrientations]
Modified +[UIViewController attemptRotationToDeviceOrientation]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedPlease use instance method `setNeedsUpdateOfSupportedInterfaceOrientations`.

Modified UIViewController.shouldAutorotate
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUpdate supported interface orientations and call setNeedsUpdateOfSupportedInterfaceOrientations to indicate a change.

UIWindowSceneGeometry.h
Added UIWindowSceneGeometry.interfaceOrientation
UIWindowSceneGeometryPreferencesIOS.h
Added UIWindowSceneGeometryPreferencesIOS
Added -[UIWindowSceneGeometryPreferencesIOS init]
Added -[UIWindowSceneGeometryPreferencesIOS initWithInterfaceOrientations:]
Added UIWindowSceneGeometryPreferencesIOS.interfaceOrientations
UIWindowSceneGeometryPreferencesMac.h
Added UIWindowSceneGeometryPreferencesMac
Added -[UIWindowSceneGeometryPreferencesMac init]
Added -[UIWindowSceneGeometryPreferencesMac initWithSystemFrame:]
Added UIWindowSceneGeometryPreferencesMac.systemFrame
UIWindowSceneMacGeometryPreferences.h
Removed UIWindowSceneMacGeometryPreferences
Removed -[UIWindowSceneMacGeometryPreferences initWithSystemFrame:]
Removed UIWindowSceneMacGeometryPreferences.systemFrame