UIKit tvOS 15.4 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

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.

UICalendarViewDecoration.h
Added UICalendarViewDecorationSize
UICollectionView.h
Added UICollectionViewSelfSizingInvalidation
Added UICollectionViewSelfSizingInvalidationDisabled
Added UICollectionViewSelfSizingInvalidationEnabled
Added UICollectionViewSelfSizingInvalidationEnabledIncludingConstraints
Added -[UICollectionViewDelegate collectionView:canPerformPrimaryActionForItemAtIndexPath:]
Added -[UICollectionViewDelegate collectionView:performPrimaryActionForItemAtIndexPath:]
Added UICollectionView.selfSizingInvalidation
UICollectionViewCell.h
Added -[UICollectionViewCell defaultBackgroundConfiguration]
UICollectionViewCompositionalLayout.h
Added NSCollectionLayoutSection.supplementaryContentInsetsReference
Added +[NSCollectionLayoutGroup horizontalGroupWithLayoutSize:repeatingSubitem:count:]
Added +[NSCollectionLayoutGroup verticalGroupWithLayoutSize:repeatingSubitem:count:]
Modified NSCollectionLayoutSection.supplementariesFollowContentInsets
AvailabilityReplacement
FromAvailablenone
ToDeprecatedsupplementaryContentInsetsReference

Modified +[NSCollectionLayoutGroup horizontalGroupWithLayoutSize:subitem:count:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated+horizontalGroupWithLayoutSize:repeatingSubitem:count:

Modified +[NSCollectionLayoutGroup verticalGroupWithLayoutSize:subitem:count:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated+verticalGroupWithLayoutSize:repeatingSubitem:count:

UICommand.h
Modified UICommand
Protocols
Fromnone
ToUIMenuLeaf

UIContextMenuConfiguration.h
Added UIContextMenuConfigurationElementOrder
UIEditMenuInteraction.h
Added UIEditMenuArrowDirection
UIFindSession.h
Added UIFindSessionSearchResultDisplayStyleCurrentAndTotal
Added UIFindSessionSearchResultDisplayStyleTotal
Added UIFindSessionSearchResultDisplayStyleNone
Added UITextSearchMatchMethodContains
Added UITextSearchMatchMethodStartsWith
Added UITextSearchMatchMethodFullWord
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
UIListContentTextProperties.h
Added UIListContentTextProperties.showsExpansionTextWhenTruncated
UIMenu.h
Added UIMenuElementSize
Added UIMenuElementSizeSmall
Added UIMenuElementSizeMedium
Added UIMenuElementSizeLarge
Added UIMenu.preferredElementSize
Added UIMenuDocument
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
UINavigationItem.h
Added UINavigationItemSearchBarPlacement
Added UINavigationItemStyle
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
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
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UISceneDelegate or related notifications to be informed of connecting scenes from other screens

Modified UIScreenDidDisconnectNotification
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UISceneDelegate or related notifications to be informed of disconnecting scenes from other screens

Modified UIScreen.screens
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UIApplication.shared.openSessions to find open sessions with scenes from other screens

Modified UIScreen.mainScreen
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse a UIScreen instance found through context instead: i.e, view.window.windowScene.screen

UIScrollView.h
Added UIScrollViewKeyboardDismissModeOnDragWithAccessory
Added UIScrollViewKeyboardDismissModeInteractiveWithAccessory
UISearchSuggestion.h
Added UISearchSuggestion.representedObject
Added UISearchSuggestionItem.representedObject
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
UITextView.h
Added -[UITextViewDelegate textView:editMenuForTextInRange:suggestedActions:]
Added +[UITextView textViewUsingTextLayoutManager:]
Added UITextView.textLayoutManager
UITraitCollection.h
Added +[UITraitCollection traitCollectionWithToolbarItemPresentationSize:]
Added UITraitCollection.toolbarItemPresentationSize
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
AvailabilityReplacement
FromAvailablenone
ToDeprecatedUIWindowSceneSessionRoleExternalDisplayNonInteractive

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