UIKit iOS 15.5 to 16.0 API Differences

NSParagraphStyle.h
Added NSParagraphStyle.textLists
Added NSMutableParagraphStyle.textLists
NSTextElement.h
Added NSTextElement.childElements
Added NSTextElement.parentElement
Added NSTextElement.isRepresentedElement
NSTextList.h
Added NSTextListOptions
Added NSTextListPrependEnclosingMarker
Added NSTextListMarkerFormat
Added NSTextListMarkerBox
Added NSTextListMarkerCheck
Added NSTextListMarkerCircle
Added NSTextListMarkerDiamond
Added NSTextListMarkerDisc
Added NSTextListMarkerHyphen
Added NSTextListMarkerSquare
Added NSTextListMarkerLowercaseHexadecimal
Added NSTextListMarkerUppercaseHexadecimal
Added NSTextListMarkerOctal
Added NSTextListMarkerLowercaseAlpha
Added NSTextListMarkerUppercaseAlpha
Added NSTextListMarkerLowercaseLatin
Added NSTextListMarkerUppercaseLatin
Added NSTextListMarkerLowercaseRoman
Added NSTextListMarkerUppercaseRoman
Added NSTextListMarkerDecimal
Added NSTextList
Added -[NSTextList initWithMarkerFormat:options:startingItemNumber:]
Added -[NSTextList initWithMarkerFormat:options:]
Added -[NSTextList initWithCoder:]
Added NSTextList.markerFormat
Added NSTextList.listOptions
Added NSTextList.startingItemNumber
Added NSTextList.ordered
Added -[NSTextList markerForItemNumber:]
NSTextListElement.h
Added NSTextListElement
Added -[NSTextListElement initWithParentElement:textList:contents:markerAttributes:childElements:]
Added +[NSTextListElement textListElementWithContents:markerAttributes:textList:childElements:]
Added +[NSTextListElement textListElementWithChildElements:textList:nestingLevel:]
Added NSTextListElement.textList
Added NSTextListElement.contents
Added NSTextListElement.markerAttributes
Added NSTextListElement.attributedString
Added NSTextListElement.childElements
Added NSTextListElement.parentElement
ShareSheetDefines.h
Removed #def SHARESHEET_EXTERN
UIAction.h
Modified UIAction
Protocols
Fromnone
ToUIMenuLeaf

UIActivity.h
Added UIActivityTypeCollaborationInviteWithLink
Added UIActivityTypeCollaborationCopyLink
UIAlertController.h
Added UIAlertControllerSeverity
Added UIAlertControllerSeverityDefault
Added UIAlertControllerSeverityCritical
Added UIAlertController.severity
UIApplication.h
Modified UIApplicationLaunchOptionsAnnotationKey
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis dictionary key is no longer used.

UIBarButtonItem.h
Added UIBarButtonItem.preferredMenuElementOrder
Added UIBarButtonItem.hidden
Added UIBarButtonItem.menuRepresentation
Added -[UIBarButtonItem creatingFixedGroup]
Added -[UIBarButtonItem creatingMovableGroupWithCustomizationIdentifier:]
Added -[UIBarButtonItem creatingOptionalGroupWithCustomizationIdentifier:inDefaultCustomization:]
Modified UIBarButtonItem
Protocols
FromNSCoding, UISpringLoadedInteractionSupporting
ToNSCoding, UIPopoverPresentationControllerSourceItem, UISpringLoadedInteractionSupporting

UIBarButtonItemGroup.h
Added +[UIBarButtonItemGroup fixedGroupWithRepresentativeItem:items:]
Added +[UIBarButtonItemGroup movableGroupWithCustomizationIdentifier:representativeItem:items:]
Added +[UIBarButtonItemGroup optionalGroupWithCustomizationIdentifier:inDefaultCustomization:representativeItem:items:]
Added UIBarButtonItemGroup.menuRepresentation
Added UIBarButtonItemGroup.hidden
UIButton.h
Added UIButton.preferredMenuElementOrder
UICalendarSelection.h
Added UICalendarSelection
Added -[UICalendarSelection updateSelectableDates]
UICalendarSelectionMultiDate.h
Added UICalendarSelectionMultiDate
Added UICalendarSelectionMultiDate.selectedDates
Added -[UICalendarSelectionMultiDate setSelectedDates:animated:]
Added UICalendarSelectionMultiDate.delegate
Added -[UICalendarSelectionMultiDate initWithDelegate:]
Added UICalendarSelectionMultiDateDelegate
Added -[UICalendarSelectionMultiDateDelegate multiDateSelection:didSelectDate:]
Added -[UICalendarSelectionMultiDateDelegate multiDateSelection:didDeselectDate:]
Added -[UICalendarSelectionMultiDateDelegate multiDateSelection:canSelectDate:]
Added -[UICalendarSelectionMultiDateDelegate multiDateSelection:canDeselectDate:]
UICalendarSelectionSingleDate.h
Added UICalendarSelectionSingleDate
Added UICalendarSelectionSingleDate.delegate
Added UICalendarSelectionSingleDate.selectedDate
Added -[UICalendarSelectionSingleDate setSelectedDate:animated:]
Added -[UICalendarSelectionSingleDate initWithDelegate:]
Added UICalendarSelectionSingleDateDelegate
Added -[UICalendarSelectionSingleDateDelegate dateSelection:didSelectDate:]
Added -[UICalendarSelectionSingleDateDelegate dateSelection:canSelectDate:]
UICalendarView.h
Added UICalendarView
Added UICalendarView.delegate
Added UICalendarView.selectionBehavior
Added UICalendarView.locale
Added UICalendarView.calendar
Added UICalendarView.timeZone
Added UICalendarView.fontDesign
Added UICalendarView.availableDateRange
Added UICalendarView.visibleDateComponents
Added -[UICalendarView setVisibleDateComponents:animated:]
Added UICalendarView.wantsDateDecorations
Added -[UICalendarView reloadDecorationsForDateComponents:animated:]
Added UICalendarViewDelegate
Added -[UICalendarViewDelegate calendarView:decorationForDateComponents:]
UICalendarViewDecoration.h
Added UICalendarViewDecorationSize
Added UICalendarViewDecorationSizeSmall
Added UICalendarViewDecorationSizeMedium
Added UICalendarViewDecorationSizeLarge
Added UICalendarViewDecoration
Added -[UICalendarViewDecoration init]
Added -[UICalendarViewDecoration initWithImage:color:size:]
Added -[UICalendarViewDecoration initWithCustomViewProvider:]
Added +[UICalendarViewDecoration decorationWithColor:size:]
Added +[UICalendarViewDecoration decorationWithImage:]
Added +[UICalendarViewDecoration decorationWithImage:color:size:]
Added +[UICalendarViewDecoration decorationWithCustomViewProvider:]
UICellAccessory.h
Added UICellAccessoryPopUpMenu
Added -[UICellAccessoryPopUpMenu initWithMenu:]
Added UICellAccessoryPopUpMenu.menu
Added UICellAccessoryPopUpMenu.selectedElementDidChangeHandler
Added -[UICellAccessoryPopUpMenu initWithCoder:]
UICollectionView.h
Added UICollectionViewSelfSizingInvalidation
Added UICollectionViewSelfSizingInvalidationDisabled
Added UICollectionViewSelfSizingInvalidationEnabled
Added UICollectionViewSelfSizingInvalidationEnabledIncludingConstraints
Added -[UICollectionViewDelegate collectionView:canPerformPrimaryActionForItemAtIndexPath:]
Added -[UICollectionViewDelegate collectionView:performPrimaryActionForItemAtIndexPath:]
Added -[UICollectionViewDelegate collectionView:contextMenuConfigurationForItemsAtIndexPaths:point:]
Added -[UICollectionViewDelegate collectionView:contextMenuConfiguration:highlightPreviewForItemAtIndexPath:]
Added -[UICollectionViewDelegate collectionView:contextMenuConfiguration:dismissalPreviewForItemAtIndexPath:]
Added UICollectionView.selfSizingInvalidation
Modified -[UICollectionViewDelegate collectionView:contextMenuConfigurationForItemAtIndexPath:point:]
Availability
FromAvailable
ToDeprecated

Modified -[UICollectionViewDelegate collectionView:previewForHighlightingContextMenuWithConfiguration:]
Availability
FromAvailable
ToDeprecated

Modified -[UICollectionViewDelegate collectionView:previewForDismissingContextMenuWithConfiguration:]
Availability
FromAvailable
ToDeprecated

UICollectionViewCell.h
Added -[UICollectionViewCell defaultBackgroundConfiguration]
UICollectionViewCompositionalLayout.h
Added NSCollectionLayoutSection.supplementaryContentInsetsReference
Added +[NSCollectionLayoutGroup horizontalGroupWithLayoutSize:repeatingSubitem:count:]
Added +[NSCollectionLayoutGroup verticalGroupWithLayoutSize:repeatingSubitem:count:]
Modified NSCollectionLayoutSection.supplementariesFollowContentInsets
Availability
FromAvailable
ToDeprecated

Modified +[NSCollectionLayoutGroup horizontalGroupWithLayoutSize:subitem:count:]
Availability
FromAvailable
ToDeprecated

Modified +[NSCollectionLayoutGroup verticalGroupWithLayoutSize:subitem:count:]
Availability
FromAvailable
ToDeprecated

UICommand.h
Modified UICommand
Protocols
Fromnone
ToUIMenuLeaf

UIContextMenuConfiguration.h
Added UIContextMenuConfigurationElementOrder
Added UIContextMenuConfigurationElementOrderAutomatic
Added UIContextMenuConfigurationElementOrderPriority
Added UIContextMenuConfigurationElementOrderFixed
Added UIContextMenuConfiguration.secondaryItemIdentifiers
Added UIContextMenuConfiguration.badgeCount
Added UIContextMenuConfiguration.preferredMenuElementOrder
UIContextMenuInteraction.h
Added -[UIContextMenuInteractionDelegate contextMenuInteraction:configuration:highlightPreviewForItemWithIdentifier:]
Added -[UIContextMenuInteractionDelegate contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:]
Modified -[UIContextMenuInteractionDelegate contextMenuInteraction:previewForHighlightingMenuWithConfiguration:]
Availability
FromAvailable
ToDeprecated

Modified -[UIContextMenuInteractionDelegate contextMenuInteraction:previewForDismissingMenuWithConfiguration:]
Availability
FromAvailable
ToDeprecated

UIDataDetectors.h
Added UIDataDetectorTypeMoney
Added UIDataDetectorTypePhysicalValue
UIDocumentBrowserViewController.h
Added -[UIDocumentBrowserViewController renameDocumentAtURL:proposedName:completionHandler:]
UIDocumentProperties.h
Added UIDocumentProperties
Added -[UIDocumentProperties initWithURL:]
Added -[UIDocumentProperties initWithMetadata:]
Added UIDocumentProperties.metadata
Added UIDocumentProperties.dragItemsProvider
Added UIDocumentProperties.activityViewControllerProvider
Added UIDocumentProperties.wantsIconRepresentation
UIEditMenuInteraction.h
Added UIEditMenuArrowDirection
Added UIEditMenuArrowDirectionAutomatic
Added UIEditMenuArrowDirectionUp
Added UIEditMenuArrowDirectionDown
Added UIEditMenuArrowDirectionLeft
Added UIEditMenuArrowDirectionRight
Added UIEditMenuConfiguration
Added UIEditMenuConfiguration.identifier
Added UIEditMenuConfiguration.sourcePoint
Added UIEditMenuConfiguration.preferredArrowDirection
Added +[UIEditMenuConfiguration configurationWithIdentifier:sourcePoint:]
Added UIEditMenuInteraction
Added UIEditMenuInteraction.delegate
Added -[UIEditMenuInteraction initWithDelegate:]
Added -[UIEditMenuInteraction presentEditMenuWithConfiguration:]
Added -[UIEditMenuInteraction dismissMenu]
Added -[UIEditMenuInteraction reloadVisibleMenu]
Added -[UIEditMenuInteraction updateVisibleMenuPositionAnimated:]
Added -[UIEditMenuInteraction locationInView:]
Added UIEditMenuInteractionAnimating
Added -[UIEditMenuInteractionAnimating addAnimations:]
Added -[UIEditMenuInteractionAnimating addCompletion:]
Added UIEditMenuInteractionDelegate
Added -[UIEditMenuInteractionDelegate editMenuInteraction:menuForConfiguration:suggestedActions:]
Added -[UIEditMenuInteractionDelegate editMenuInteraction:targetRectForConfiguration:]
Added -[UIEditMenuInteractionDelegate editMenuInteraction:willPresentMenuForConfiguration:animator:]
Added -[UIEditMenuInteractionDelegate editMenuInteraction:willDismissMenuForConfiguration:animator:]
UIFindInteraction.h
Added UIFindInteractionDelegate
Added -[UIFindInteractionDelegate findInteraction:sessionForView:]
Added -[UIFindInteractionDelegate findInteraction:didBeginFindSession:]
Added -[UIFindInteractionDelegate findInteraction:didEndFindSession:]
Added UIFindInteraction
Added UIFindInteraction.findNavigatorVisible
Added UIFindInteraction.activeFindSession
Added UIFindInteraction.searchText
Added UIFindInteraction.replacementText
Added UIFindInteraction.optionsMenuProvider
Added UIFindInteraction.delegate
Added -[UIFindInteraction initWithSessionDelegate:]
Added -[UIFindInteraction presentFindNavigatorShowingReplace:]
Added -[UIFindInteraction dismissFindNavigator]
Added -[UIFindInteraction findNext]
Added -[UIFindInteraction findPrevious]
Added -[UIFindInteraction updateResultCount]
UIFindSession.h
Added UIFindSessionSearchResultDisplayStyle
Added UIFindSessionSearchResultDisplayStyleCurrentAndTotal
Added UIFindSessionSearchResultDisplayStyleTotal
Added UIFindSessionSearchResultDisplayStyleNone
Added UITextSearchMatchMethod
Added UITextSearchMatchMethodContains
Added UITextSearchMatchMethodStartsWith
Added UITextSearchMatchMethodFullWord
Added UITextSearchOptions
Added UITextSearchOptions.wordMatchMethod
Added UITextSearchOptions.stringCompareOptions
Added UIFindSession
Added UIFindSession.resultCount
Added UIFindSession.highlightedResultIndex
Added UIFindSession.searchResultDisplayStyle
Added UIFindSession.allowsReplacement
Added -[UIFindSession performSearchWithQuery:options:]
Added -[UIFindSession performSingleReplacementWithSearchQuery:replacementString:options:]
Added -[UIFindSession replaceAllInstancesOfSearchQuery:withReplacementString:options:]
Added -[UIFindSession highlightNextResultInDirection:]
Added -[UIFindSession invalidateFoundResults]
Added UITextSearchingFindSession
Added UITextSearchingFindSession.searchableObject
Added -[UITextSearchingFindSession initWithSearchableObject:]
UIFocusDebugger.h
Removed +[UIFocusDebugger checkFocusGroupTreeForEnvironment:]
Added +[UIFocusDebugger focusGroupsForEnvironment:]
Added +[UIFocusDebugger preferredFocusEnvironmentsForEnvironment:]
UIImage.h
Added +[UIImage systemImageNamed:variableValue:withConfiguration:]
Added +[UIImage imageNamed:inBundle:variableValue:withConfiguration:]
UIImageSymbolConfiguration.h
Added +[UIImageSymbolConfiguration configurationPreferringMonochrome]
UIInterface.h
Added UINSToolbarItemPresentationSize
Added UINSToolbarItemPresentationSizeUnspecified
Added UINSToolbarItemPresentationSizeRegular
Added UINSToolbarItemPresentationSizeSmall
Added UINSToolbarItemPresentationSizeLarge
UILayoutGuide.h
Modified UILayoutGuide
Protocols
FromNSCoding
ToNSCoding, UIPopoverPresentationControllerSourceItem

UIListContentTextProperties.h
Added UIListContentTextProperties.showsExpansionTextWhenTruncated
UIMenu.h
Added UIMenuElementSize
Added UIMenuElementSizeSmall
Added UIMenuElementSizeMedium
Added UIMenuElementSizeLarge
Added UIMenu.preferredElementSize
Added UIMenuDocument
UIMenuController.h
Modified UIMenuControllerArrowDefault
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerArrowUp
Availability
FromAvailable
ToDeprecated

Modified UIMenuControllerArrowDown
Availability
FromAvailable
ToDeprecated

Modified UIMenuControllerArrowLeft
Availability
FromAvailable
ToDeprecated

Modified UIMenuControllerArrowRight
Availability
FromAvailable
ToDeprecated

Modified UIMenuController
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerWillShowMenuNotification
DeclarationAvailabilityDeprecation Message
FromAPI_UNAVAILABLE(tvos) const NSNotificationName UIMenuControllerWillShowMenuNotificationAvailablenone
ToAPI_DEPRECATED("UIMenuController is deprecated. Use UIEditMenuInteraction instead.", ios(3.0, 16.0)) const NSNotificationName UIMenuControllerWillShowMenuNotificationDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerDidShowMenuNotification
DeclarationAvailabilityDeprecation Message
FromAPI_UNAVAILABLE(tvos) const NSNotificationName UIMenuControllerDidShowMenuNotificationAvailablenone
ToAPI_DEPRECATED("UIMenuController is deprecated. Use UIEditMenuInteraction instead.", ios(3.0, 16.0)) const NSNotificationName UIMenuControllerDidShowMenuNotificationDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerWillHideMenuNotification
DeclarationAvailabilityDeprecation Message
FromAPI_UNAVAILABLE(tvos) const NSNotificationName UIMenuControllerWillHideMenuNotificationAvailablenone
ToAPI_DEPRECATED("UIMenuController is deprecated. Use UIEditMenuInteraction instead.", ios(3.0, 16.0)) const NSNotificationName UIMenuControllerWillHideMenuNotificationDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerDidHideMenuNotification
DeclarationAvailabilityDeprecation Message
FromAPI_UNAVAILABLE(tvos) const NSNotificationName UIMenuControllerDidHideMenuNotificationAvailablenone
ToAPI_DEPRECATED("UIMenuController is deprecated. Use UIEditMenuInteraction instead.", ios(3.0, 16.0)) const NSNotificationName UIMenuControllerDidHideMenuNotificationDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuControllerMenuFrameDidChangeNotification
DeclarationAvailabilityDeprecation Message
FromAPI_UNAVAILABLE(tvos) const NSNotificationName UIMenuControllerMenuFrameDidChangeNotificationAvailablenone
ToAPI_DEPRECATED("UIMenuController is deprecated. Use UIEditMenuInteraction instead.", ios(3.0, 16.0)) const NSNotificationName UIMenuControllerMenuFrameDidChangeNotificationDeprecatedUIMenuController is deprecated. Use UIEditMenuInteraction instead.

Modified UIMenuItem
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUIMenuItem is deprecated. Use UIEditMenuInteraction instead.

UIMenuElement.h
Added UIMenuElementAttributesKeepsMenuPresented
UIMenuLeaf.h
Added UIMenuLeaf
Added UIMenuLeaf.title
Added UIMenuLeaf.image
Added UIMenuLeaf.discoverabilityTitle
Added UIMenuLeaf.attributes
Added UIMenuLeaf.state
Added UIMenuLeaf.sender
Added UIMenuLeaf.presentationSourceItem
Added -[UIMenuLeaf performWithSender:target:]
UINavigationBar.h
Added UINavigationBarNSToolbarSection
Added UINavigationBarNSToolbarSectionNone
Added UINavigationBarNSToolbarSectionSidebar
Added UINavigationBarNSToolbarSectionSupplementary
Added UINavigationBarNSToolbarSectionContent
Added UINavigationBar.currentNSToolbarSection
Added UINavigationBar.behavioralStyle
Added UINavigationBar.preferredBehavioralStyle
Added -[UINavigationBarDelegate navigationBarNSToolbarSection:]
UINavigationItem.h
Added UINavigationItemSearchBarPlacement
Added UINavigationItemSearchBarPlacementAutomatic
Added UINavigationItemSearchBarPlacementInline
Added UINavigationItemSearchBarPlacementStacked
Added UINavigationItemStyle
Added UINavigationItemStyleNavigator
Added UINavigationItemStyleBrowser
Added UINavigationItemStyleEditor
Added UINavigationItemRenameDelegate
Added -[UINavigationItemRenameDelegate navigationItem:didEndRenamingWithTitle:]
Added -[UINavigationItemRenameDelegate navigationItemShouldBeginRenaming:]
Added -[UINavigationItemRenameDelegate navigationItem:willBeginRenamingWithSuggestedTitle:selectedRange:]
Added -[UINavigationItemRenameDelegate navigationItem:shouldEndRenamingWithTitle:]
Added UINavigationItem.backAction
Added UINavigationItem.titleMenuProvider
Added UINavigationItem.renameDelegate
Added UINavigationItem.documentProperties
Added UINavigationItem.customizationIdentifier
Added UINavigationItem.leadingItemGroups
Added UINavigationItem.centerItemGroups
Added UINavigationItem.trailingItemGroups
Added UINavigationItem.additionalOverflowItems
Added UINavigationItem.style
Added UINavigationItem.preferredSearchBarPlacement
Added UINavigationItem.searchBarPlacement
UIPageControl.h
Added UIPageControlDirection
Added UIPageControlDirectionNatural
Added UIPageControlDirectionLeftToRight
Added UIPageControlDirectionRightToLeft
Added UIPageControlDirectionTopToBottom
Added UIPageControlDirectionBottomToTop
Added UIPageControl.direction
Added UIPageControl.preferredCurrentPageIndicatorImage
Added -[UIPageControl currentPageIndicatorImageForPage:]
Added -[UIPageControl setCurrentPageIndicatorImage:forPage:]
UIPasteControl.h
Added UIPasteControlDisplayMode
Added UIPasteControlDisplayModeIconAndLabel
Added UIPasteControlDisplayModeIconOnly
Added UIPasteControlDisplayModeLabelOnly
Added UIPasteControlCornerStyle
Added UIPasteControlCornerStyleNone
Added UIPasteControlCornerStyleSmall
Added UIPasteControlCornerStyleMedium
Added UIPasteControlCornerStyleLarge
Added UIPasteControlCornerStyleCapsule
Added UIPasteControlConfiguration
Added UIPasteControlConfiguration.displayMode
Added UIPasteControlConfiguration.cornerStyle
Added UIPasteControlConfiguration.baseForegroundColor
Added UIPasteControlConfiguration.baseBackgroundColor
Added UIPasteControl
Added UIPasteControl.configuration
Added UIPasteControl.target
Added -[UIPasteControl initWithConfiguration:]
Added -[UIPasteControl initWithCoder:]
Added -[UIPasteControl initWithFrame:]
UIPencilInteraction.h
Added UIPencilPreferredActionShowInkAttributes
UIPopoverPresentationController.h
Added UIPopoverPresentationController.sourceItem
Modified UIPopoverPresentationController.barButtonItem
DeclarationAvailability
From@property (nonatomic, strong, nullable) UIBarButtonItem *barButtonItemAvailable
To@property (nonatomic, strong, nullable) UIBarButtonItem *barButtonItemDeprecated

UIPopoverPresentationControllerSourceItem.h
Added UIPopoverPresentationControllerSourceItem
UIPrintFormatter.h
Added UIPrintFormatter.requiresMainThread
UIResponder.h
Added -[UIResponderStandardEditActions find:]
Added -[UIResponderStandardEditActions findAndReplace:]
Added -[UIResponderStandardEditActions findNext:]
Added -[UIResponderStandardEditActions findPrevious:]
Added -[UIResponderStandardEditActions useSelectionForFind:]
Added -[UIResponderStandardEditActions rename:]
Added -[UIResponderStandardEditActions duplicate:]
Added -[UIResponderStandardEditActions move:]
Added -[UIResponderStandardEditActions export:]
UISceneDefinitions.h
Added UISceneErrorCodeGeometryRequestUnsupported
Added UISceneErrorCodeGeometryRequestDenied
UISceneWindowingBehaviors.h
Added UISceneWindowingBehaviors
Added UISceneWindowingBehaviors.closable
Added UISceneWindowingBehaviors.miniaturizable
UIScreen.h
Added UIScreenReferenceDisplayModeStatusDidChangeNotification
Added UIScreenReferenceDisplayModeStatus
Added UIScreenReferenceDisplayModeStatusNotSupported
Added UIScreenReferenceDisplayModeStatusNotEnabled
Added UIScreenReferenceDisplayModeStatusLimited
Added UIScreenReferenceDisplayModeStatusEnabled
Added UIScreen.referenceDisplayModeStatus
Added UIScreen.currentEDRHeadroom
Added UIScreen.potentialEDRHeadroom
Modified UIScreenDidConnectNotification
DeclarationAvailabilityDeprecation Message
FromAPI_AVAILABLE(ios(3.2)) const NSNotificationName UIScreenDidConnectNotificationAvailablenone
ToAPI_DEPRECATED("Use UISceneDelegate or related notifications to be informed of connecting scenes from other screens", ios(3.2, 16.0)) const NSNotificationName UIScreenDidConnectNotificationDeprecatedUse UISceneDelegate or related notifications to be informed of connecting scenes from other screens

Modified UIScreenDidDisconnectNotification
DeclarationAvailabilityDeprecation Message
FromAPI_AVAILABLE(ios(3.2)) const NSNotificationName UIScreenDidDisconnectNotificationAvailablenone
ToAPI_DEPRECATED("Use UISceneDelegate or related notifications to be informed of disconnecting scenes from other screens", ios(3.2, 16.0)) const NSNotificationName UIScreenDidDisconnectNotificationDeprecatedUse UISceneDelegate or related notifications to be informed of disconnecting scenes from other screens

Modified UIScreen.screens
DeclarationAvailabilityDeprecation Message
From@property (class, nonatomic, readonly, nonnull) NSArray<UIScreen *> *screensAvailablenone
To@property (class, nonatomic, readonly, nonnull) NSArray<UIScreen *> *screensDeprecatedUse UIApplication.shared.openSessions to find open sessions with scenes from other screens

Modified UIScreen.mainScreen
DeclarationAvailabilityDeprecation Message
From@property (class, nonatomic, readonly, nonnull) UIScreen *mainScreenAvailablenone
To@property (class, nonatomic, readonly, nonnull) UIScreen *mainScreenDeprecatedUse a UIScreen instance found through context instead: i.e, view.window.windowScene.screen

UIScrollView.h
Added UIScrollViewKeyboardDismissModeOnDragWithAccessory
Added UIScrollViewKeyboardDismissModeInteractiveWithAccessory
UISearchController.h
Added -[UISearchControllerDelegate searchController:willChangeToSearchBarPlacement:]
Added -[UISearchControllerDelegate searchController:didChangeFromSearchBarPlacement:]
Added -[UISearchResultsUpdating updateSearchResultsForSearchController:selectingSearchSuggestion:]
Added UISearchController.searchBarPlacement
Added UISearchController.searchSuggestions
UISearchSuggestion.h
Added UISearchSuggestion
Added UISearchSuggestion.localizedSuggestion
Added UISearchSuggestion.localizedDescription
Added UISearchSuggestion.iconImage
Added UISearchSuggestion.localizedAttributedSuggestion
Added UISearchSuggestion.representedObject
Added UISearchSuggestionItem
Added +[UISearchSuggestionItem suggestionWithLocalizedSuggestion:]
Added +[UISearchSuggestionItem suggestionWithLocalizedSuggestion:descriptionString:]
Added +[UISearchSuggestionItem suggestionWithLocalizedSuggestion:descriptionString:iconImage:]
Added +[UISearchSuggestionItem suggestionWithLocalizedAttributedSuggestion:]
Added +[UISearchSuggestionItem suggestionWithLocalizedAttributedSuggestion:descriptionString:]
Added +[UISearchSuggestionItem suggestionWithLocalizedAttributedSuggestion:descriptionString:iconImage:]
Added -[UISearchSuggestionItem initWithLocalizedSuggestion:]
Added -[UISearchSuggestionItem initWithLocalizedSuggestion:localizedDescription:]
Added -[UISearchSuggestionItem initWithLocalizedSuggestion:localizedDescription:iconImage:]
Added -[UISearchSuggestionItem initWithLocalizedAttributedSuggestion:]
Added -[UISearchSuggestionItem initWithLocalizedAttributedSuggestion:localizedDescription:]
Added -[UISearchSuggestionItem initWithLocalizedAttributedSuggestion:localizedDescription:iconImage:]
Added UISearchSuggestionItem.localizedAttributedSuggestion
Added UISearchSuggestionItem.localizedSuggestion
Added UISearchSuggestionItem.localizedDescription
Added UISearchSuggestionItem.iconImage
Added UISearchSuggestionItem.representedObject
UISearchTextField.h
Added UISearchTextField.searchSuggestions
Added -[UISearchTextFieldDelegate searchTextField:didSelectSuggestion:]
UISheetPresentationController.h
Added UISheetPresentationControllerDetentInactive
Added UISheetPresentationControllerDetentResolutionContext
Added UISheetPresentationControllerDetentResolutionContext.containerTraitCollection
Added UISheetPresentationControllerDetentResolutionContext.maximumDetentValue
Added +[UISheetPresentationControllerDetent customDetentWithIdentifier:resolver:]
Added UISheetPresentationControllerDetent.identifier
Added -[UISheetPresentationControllerDetent resolvedValueInContext:]
Added -[UISheetPresentationController invalidateDetents]
UITabBarItem.h
Modified UITabBarItem
Protocols
FromUISpringLoadedInteractionSupporting
ToUIPopoverPresentationControllerSourceItem, UISpringLoadedInteractionSupporting

UITableView.h
Added -[UITableViewDelegate tableView:canPerformPrimaryActionForRowAtIndexPath:]
Added -[UITableViewDelegate tableView:performPrimaryActionForRowAtIndexPath:]
Added UITableViewSelfSizingInvalidation
Added UITableViewSelfSizingInvalidationDisabled
Added UITableViewSelfSizingInvalidationEnabled
Added UITableViewSelfSizingInvalidationEnabledIncludingConstraints
Added UITableView.selfSizingInvalidation
UITableViewCell.h
Added -[UITableViewCell defaultBackgroundConfiguration]
UITableViewHeaderFooterView.h
Added -[UITableViewHeaderFooterView defaultBackgroundConfiguration]
UITextField.h
Added -[UITextFieldDelegate textField:editMenuForCharactersInRange:suggestedActions:]
UITextInput.h
Added -[UITextInput editMenuForTextRange:suggestedActions:]
UITextSearching.h
Added UITextSearchDocumentIdentifier
Added UITextSearchFoundTextStyle
Added UITextSearchFoundTextStyleNormal
Added UITextSearchFoundTextStyleFound
Added UITextSearchFoundTextStyleHighlighted
Added UITextSearchAggregator
Added UITextSearchAggregator.allFoundRanges
Added -[UITextSearchAggregator foundRange:forSearchString:inDocument:]
Added -[UITextSearchAggregator invalidateFoundRange:inDocument:]
Added -[UITextSearchAggregator finishedSearching]
Added UITextSearching
Added UITextSearching.selectedTextRange
Added -[UITextSearching compareFoundRange:toRange:inDocument:]
Added -[UITextSearching performTextSearchWithQueryString:usingOptions:resultAggregator:]
Added -[UITextSearching decorateFoundTextRange:inDocument:usingStyle:]
Added -[UITextSearching clearAllDecoratedFoundText]
Added UITextSearching.supportsTextReplacement
Added -[UITextSearching shouldReplaceFoundTextInRange:inDocument:withText:]
Added -[UITextSearching replaceFoundTextInRange:inDocument:withText:]
Added -[UITextSearching replaceAllOccurrencesOfQueryString:usingOptions:withText:]
Added -[UITextSearching willHighlightFoundTextRange:inDocument:]
Added -[UITextSearching scrollRangeToVisible:inDocument:]
Added UITextSearching.selectedTextSearchDocument
Added -[UITextSearching compareOrderFromDocument:toDocument:]
UITextView.h
Added -[UITextViewDelegate textView:editMenuForTextInRange:suggestedActions:]
Added +[UITextView textViewUsingTextLayoutManager:]
Added UITextView.textLayoutManager
Added UITextView.findInteraction
Added UITextView.findInteractionEnabled
Modified UITextView
Protocols
FromUIContentSizeCategoryAdjusting, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting
ToUIContentSizeCategoryAdjusting, UIFindInteractionDelegate, UITextDraggable, UITextDroppable, UITextInput, UITextPasteConfigurationSupporting, UITextSearching

UITraitCollection.h
Added +[UITraitCollection traitCollectionWithToolbarItemPresentationSize:]
Added UITraitCollection.toolbarItemPresentationSize
UIView.h
Modified UIView
Protocols
FromCALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UITraitEnvironment
ToCALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPopoverPresentationControllerSourceItem, UITraitEnvironment

Modified UIView.minimumContentSizeCategory
Declaration
From@property (nonatomic, copy, nullable) UIContentSizeCategory minimumContentSizeCategory
To@property (nonatomic, copy, nullable) UIContentSizeCategory minimumContentSizeCategory

Modified UIView.maximumContentSizeCategory
Declaration
From@property (nonatomic, copy, nullable) UIContentSizeCategory maximumContentSizeCategory
To@property (nonatomic, copy, nullable) UIContentSizeCategory maximumContentSizeCategory

Modified UIView.appliedContentSizeCategoryLimitsDescription
Declaration
From@property (nonatomic, readonly, copy, nonnull) NSString *appliedContentSizeCategoryLimitsDescription
To@property (nonatomic, readonly, copy, nonnull) NSString *appliedContentSizeCategoryLimitsDescription

UIViewController.h
Added UIViewController.interactionActivityTrackingBaseName
Added UIViewController.activePresentationController
UIWindow.h
Added UILayoutGuideAspectFitting
Added UILayoutGuideAspectFitting.aspectRatio
Added UIWindow.safeAreaAspectFitLayoutGuide
UIWindowScene.h
Added -[UIWindowScene requestGeometryUpdateWithPreferences:errorHandler:]
Added UIWindowScene.effectiveGeometry
Added UIWindowScene.windowingBehaviors
Added UIWindowScene.fullScreen
Added UIWindowSceneSessionRoleExternalDisplayNonInteractive
Added UISceneSizeRestrictions.allowsFullScreen
Modified UIWindowSceneSessionRoleExternalDisplay
DeclarationAvailability
FromAPI_AVAILABLE(ios(13.0)) const UISceneSessionRole UIWindowSceneSessionRoleExternalDisplayAvailable
ToAPI_DEPRECATED_WITH_REPLACEMENT("UIWindowSceneSessionRoleExternalDisplayNonInteractive", ios(13.0, 16.0)) const UISceneSessionRole UIWindowSceneSessionRoleExternalDisplayDeprecated

UIWindowSceneGeometry.h
Added UIWindowSceneGeometry
UIWindowSceneGeometryPreferences.h
Added UIWindowSceneGeometryPreferences
UIWindowSceneMacGeometryPreferences.h
Added UIWindowSceneMacGeometryPreferences
Added -[UIWindowSceneMacGeometryPreferences initWithSystemFrame:]
Added UIWindowSceneMacGeometryPreferences.systemFrame