UIKit iOS 14.5 to 15.0 API Differences

NSParagraphStyle.h
Added NSParagraphStyle.usesDefaultHyphenation
Added NSMutableParagraphStyle.usesDefaultHyphenation
NSTextAttachment.h
Added NSTextAttachmentLayout
Added -[NSTextAttachmentLayout imageForBounds:attributes:location:textContainer:]
Added -[NSTextAttachmentLayout attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:]
Added -[NSTextAttachmentLayout viewProviderForParentView:location:textContainer:]
Added NSTextAttachment.lineLayoutPadding
Added +[NSTextAttachment textAttachmentViewProviderClassForFileType:]
Added +[NSTextAttachment registerTextAttachmentViewProviderClass:forFileType:]
Added NSTextAttachment.allowsTextAttachmentView
Added NSTextAttachment.usesTextAttachmentView
Added NSTextAttachmentViewProvider
Added -[NSTextAttachmentViewProvider initWithTextAttachment:parentView:textLayoutManager:location:]
Added NSTextAttachmentViewProvider.textAttachment
Added NSTextAttachmentViewProvider.textLayoutManager
Added NSTextAttachmentViewProvider.location
Added NSTextAttachmentViewProvider.view
Added -[NSTextAttachmentViewProvider loadView]
Added NSTextAttachmentViewProvider.tracksTextAttachmentViewBounds
Added -[NSTextAttachmentViewProvider attachmentBoundsForAttributes:location:textContainer:proposedLineFragment:position:]
Modified NSTextAttachment
Protocols
FromNSSecureCoding, NSTextAttachmentContainer, UIAccessibilityContentSizeCategoryImageAdjusting
ToNSSecureCoding, NSTextAttachmentContainer, NSTextAttachmentLayout, UIAccessibilityContentSizeCategoryImageAdjusting

NSTextContainer.h
Added NSTextContainer.textLayoutManager
NSTextContentManager.h
Added NSTextContentManagerEnumerationOptions
Added NSTextContentManagerEnumerationOptionsNone
Added NSTextContentManagerEnumerationOptionsReverse
Added NSTextElementProvider
Added NSTextElementProvider.documentRange
Added -[NSTextElementProvider enumerateTextElementsFromLocation:options:usingBlock:]
Added -[NSTextElementProvider replaceContentsInRange:withTextElements:]
Added -[NSTextElementProvider synchronizeToBackingStore:]
Added -[NSTextElementProvider locationFromLocation:withOffset:]
Added -[NSTextElementProvider offsetFromLocation:toLocation:]
Added -[NSTextElementProvider adjustedRangeFromRange:forEditingTextSelection:]
Added NSTextContentManager
Added -[NSTextContentManager init]
Added -[NSTextContentManager initWithCoder:]
Added NSTextContentManager.delegate
Added NSTextContentManager.textLayoutManagers
Added -[NSTextContentManager addTextLayoutManager:]
Added -[NSTextContentManager removeTextLayoutManager:]
Added NSTextContentManager.primaryTextLayoutManager
Added -[NSTextContentManager synchronizeTextLayoutManagers:]
Added -[NSTextContentManager textElementsForRange:]
Added NSTextContentManager.hasEditingTransaction
Added -[NSTextContentManager performEditingTransactionUsingBlock:]
Added -[NSTextContentManager recordEditActionInRange:newTextRange:]
Added NSTextContentManager.automaticallySynchronizesTextLayoutManagers
Added NSTextContentManager.automaticallySynchronizesToBackingStore
Added NSTextContentManagerDelegate
Added -[NSTextContentManagerDelegate textContentManager:textElementAtLocation:]
Added -[NSTextContentManagerDelegate textContentManager:shouldEnumerateTextElement:options:]
Added NSTextContentStorageDelegate
Added -[NSTextContentStorageDelegate textContentStorage:textParagraphWithRange:]
Added NSTextContentStorage
Added NSTextContentStorage.delegate
Added NSTextContentStorage.attributedString
Added -[NSTextContentStorage attributedStringForTextElement:]
Added -[NSTextContentStorage textElementForAttributedString:]
Added -[NSTextContentStorage locationFromLocation:withOffset:]
Added -[NSTextContentStorage offsetFromLocation:toLocation:]
Added -[NSTextContentStorage adjustedRangeFromRange:forEditingTextSelection:]
Added NSTextContentStorageUnsupportedAttributeAddedNotification
NSTextElement.h
Added NSTextElement
Added -[NSTextElement initWithTextContentManager:]
Added NSTextElement.textContentManager
Added NSTextElement.elementRange
Added NSTextParagraph
Added -[NSTextParagraph initWithAttributedString:]
Added NSTextParagraph.attributedString
Added NSTextParagraph.paragraphContentRange
Added NSTextParagraph.paragraphSeparatorRange
NSTextLayoutFragment.h
Added NSTextLayoutFragmentEnumerationOptions
Added NSTextLayoutFragmentEnumerationOptionsNone
Added NSTextLayoutFragmentEnumerationOptionsReverse
Added NSTextLayoutFragmentEnumerationOptionsEstimatesSize
Added NSTextLayoutFragmentEnumerationOptionsEnsuresLayout
Added NSTextLayoutFragmentEnumerationOptionsEnsuresExtraLineFragment
Added NSTextLayoutFragmentState
Added NSTextLayoutFragmentStateNone
Added NSTextLayoutFragmentStateEstimatedUsageBounds
Added NSTextLayoutFragmentStateCalculatedUsageBounds
Added NSTextLayoutFragmentStateLayoutAvailable
Added NSTextLayoutFragment
Added -[NSTextLayoutFragment initWithTextElement:range:]
Added -[NSTextLayoutFragment initWithCoder:]
Added NSTextLayoutFragment.textLayoutManager
Added NSTextLayoutFragment.textElement
Added NSTextLayoutFragment.rangeInElement
Added NSTextLayoutFragment.textLineFragments
Added NSTextLayoutFragment.layoutQueue
Added NSTextLayoutFragment.state
Added -[NSTextLayoutFragment invalidateLayout]
Added NSTextLayoutFragment.layoutFragmentFrame
Added NSTextLayoutFragment.renderingSurfaceBounds
Added NSTextLayoutFragment.leadingPadding
Added NSTextLayoutFragment.trailingPadding
Added NSTextLayoutFragment.topMargin
Added NSTextLayoutFragment.bottomMargin
Added -[NSTextLayoutFragment drawAtPoint:inContext:]
Added NSTextLayoutFragment.textAttachmentViewProviders
Added -[NSTextLayoutFragment frameForTextAttachmentAtLocation:]
NSTextLayoutManager.h
Added NSTextLayoutManagerSegmentType
Added NSTextLayoutManagerSegmentTypeStandard
Added NSTextLayoutManagerSegmentTypeSelection
Added NSTextLayoutManagerSegmentTypeHighlight
Added NSTextLayoutManagerSegmentOptions
Added NSTextLayoutManagerSegmentOptionsNone
Added NSTextLayoutManagerSegmentOptionsRangeNotRequired
Added NSTextLayoutManagerSegmentOptionsMiddleFragmentsExcluded
Added NSTextLayoutManagerSegmentOptionsHeadSegmentExtended
Added NSTextLayoutManagerSegmentOptionsTailSegmentExtended
Added NSTextLayoutManagerSegmentOptionsUpstreamAffinity
Added NSTextLayoutManager
Added -[NSTextLayoutManager init]
Added -[NSTextLayoutManager initWithCoder:]
Added NSTextLayoutManager.delegate
Added NSTextLayoutManager.usesFontLeading
Added NSTextLayoutManager.limitsLayoutForSuspiciousContents
Added NSTextLayoutManager.usesHyphenation
Added NSTextLayoutManager.textContentManager
Added -[NSTextLayoutManager replaceTextContentManager:]
Added NSTextLayoutManager.textContainer
Added NSTextLayoutManager.usageBoundsForTextContainer
Added NSTextLayoutManager.textViewportLayoutController
Added NSTextLayoutManager.layoutQueue
Added -[NSTextLayoutManager ensureLayoutForRange:]
Added -[NSTextLayoutManager ensureLayoutForBounds:]
Added -[NSTextLayoutManager invalidateLayoutForRange:]
Added -[NSTextLayoutManager textLayoutFragmentForPosition:]
Added -[NSTextLayoutManager textLayoutFragmentForLocation:]
Added -[NSTextLayoutManager enumerateTextLayoutFragmentsFromLocation:options:usingBlock:]
Added NSTextLayoutManager.textSelections
Added NSTextLayoutManager.textSelectionNavigation
Added -[NSTextLayoutManager enumerateRenderingAttributesFromLocation:reverse:usingBlock:]
Added -[NSTextLayoutManager setRenderingAttributes:forTextRange:]
Added -[NSTextLayoutManager addRenderingAttribute:value:forTextRange:]
Added -[NSTextLayoutManager removeRenderingAttribute:forTextRange:]
Added -[NSTextLayoutManager invalidateRenderingAttributesForTextRange:]
Added NSTextLayoutManager.renderingAttributesValidator
Added NSTextLayoutManager.linkRenderingAttributes
Added -[NSTextLayoutManager renderingAttributesForLink:atLocation:]
Added -[NSTextLayoutManager enumerateTextSegmentsInRange:type:options:usingBlock:]
Added -[NSTextLayoutManager replaceContentsInRange:withTextElements:]
Added -[NSTextLayoutManager replaceContentsInRange:withAttributedString:]
Added NSTextLayoutManagerDelegate
Added -[NSTextLayoutManagerDelegate textLayoutManager:textLayoutFragmentForLocation:inTextElement:]
Added -[NSTextLayoutManagerDelegate textLayoutManager:shouldBreakLineBeforeLocation:hyphenating:]
Added -[NSTextLayoutManagerDelegate textLayoutManager:renderingAttributesForLink:atLocation:defaultAttributes:]
NSTextLineFragment.h
Added NSTextLineFragment
Added -[NSTextLineFragment initWithAttributedString:range:]
Added -[NSTextLineFragment initWithCoder:]
Added -[NSTextLineFragment initWithString:attributes:range:]
Added NSTextLineFragment.attributedString
Added NSTextLineFragment.characterRange
Added NSTextLineFragment.typographicBounds
Added NSTextLineFragment.glyphOrigin
Added -[NSTextLineFragment drawAtPoint:inContext:]
Added -[NSTextLineFragment locationForCharacterAtIndex:]
Added -[NSTextLineFragment characterIndexForPoint:]
Added -[NSTextLineFragment fractionOfDistanceThroughGlyphForPoint:]
NSTextRange.h
Added NSTextLocation
Added -[NSTextLocation compare:]
Added NSTextRange
Added -[NSTextRange initWithLocation:endLocation:]
Added -[NSTextRange initWithLocation:]
Added NSTextRange.empty
Added NSTextRange.location
Added NSTextRange.endLocation
Added -[NSTextRange isEqualToTextRange:]
Added -[NSTextRange containsLocation:]
Added -[NSTextRange containsRange:]
Added -[NSTextRange intersectsWithTextRange:]
Added -[NSTextRange textRangeByIntersectingWithTextRange:]
Added -[NSTextRange textRangeByFormingUnionWithTextRange:]
NSTextSelection.h
Added NSTextSelectionGranularity
Added NSTextSelectionGranularityCharacter
Added NSTextSelectionGranularityWord
Added NSTextSelectionGranularityParagraph
Added NSTextSelectionGranularityLine
Added NSTextSelectionGranularitySentence
Added NSTextSelectionAffinity
Added NSTextSelectionAffinityUpstream
Added NSTextSelectionAffinityDownstream
Added NSTextSelection
Added -[NSTextSelection initWithRanges:affinity:granularity:]
Added -[NSTextSelection initWithCoder:]
Added -[NSTextSelection initWithRange:affinity:granularity:]
Added -[NSTextSelection initWithLocation:affinity:]
Added NSTextSelection.textRanges
Added NSTextSelection.granularity
Added NSTextSelection.affinity
Added NSTextSelection.transient
Added NSTextSelection.anchorPositionOffset
Added NSTextSelection.logical
Added NSTextSelection.secondarySelectionLocation
Added NSTextSelection.typingAttributes
Added -[NSTextSelection textSelectionWithTextRanges:]
NSTextSelectionNavigation.h
Added NSTextSelectionNavigationDirection
Added NSTextSelectionNavigationDirectionForward
Added NSTextSelectionNavigationDirectionBackward
Added NSTextSelectionNavigationDirectionRight
Added NSTextSelectionNavigationDirectionLeft
Added NSTextSelectionNavigationDirectionUp
Added NSTextSelectionNavigationDirectionDown
Added NSTextSelectionNavigationDestination
Added NSTextSelectionNavigationDestinationCharacter
Added NSTextSelectionNavigationDestinationWord
Added NSTextSelectionNavigationDestinationLine
Added NSTextSelectionNavigationDestinationSentence
Added NSTextSelectionNavigationDestinationParagraph
Added NSTextSelectionNavigationDestinationContainer
Added NSTextSelectionNavigationDestinationDocument
Added NSTextSelectionNavigationModifier
Added NSTextSelectionNavigationModifierExtend
Added NSTextSelectionNavigationModifierVisual
Added NSTextSelectionNavigationModifierMultiple
Added NSTextSelectionNavigationWritingDirection
Added NSTextSelectionNavigationWritingDirectionLeftToRight
Added NSTextSelectionNavigationWritingDirectionRightToLeft
Added NSTextSelectionNavigationLayoutOrientation
Added NSTextSelectionNavigationLayoutOrientationHorizontal
Added NSTextSelectionNavigationLayoutOrientationVertical
Added NSTextSelectionNavigation
Added -[NSTextSelectionNavigation initWithDataSource:]
Added NSTextSelectionNavigation.textSelectionDataSource
Added NSTextSelectionNavigation.allowsNonContiguousRanges
Added NSTextSelectionNavigation.rotatesCoordinateSystemForLayoutOrientation
Added -[NSTextSelectionNavigation flushLayoutCache]
Added -[NSTextSelectionNavigation destinationSelectionForTextSelection:direction:destination:extending:confined:]
Added -[NSTextSelectionNavigation textSelectionsInteractingAtPoint:inContainerAtLocation:anchors:modifiers:selecting:bounds:]
Added -[NSTextSelectionNavigation textSelectionForSelectionGranularity:enclosingTextSelection:]
Added -[NSTextSelectionNavigation textSelectionForSelectionGranularity:enclosingPoint:inContainerAtLocation:]
Added -[NSTextSelectionNavigation resolvedInsertionLocationForTextSelection:writingDirection:]
Added -[NSTextSelectionNavigation deletionRangesForTextSelection:direction:destination:allowsDecomposition:]
Added NSTextSelectionDataSource
Added NSTextSelectionDataSource.documentRange
Added -[NSTextSelectionDataSource enumerateSubstringsFromLocation:options:usingBlock:]
Added -[NSTextSelectionDataSource textRangeForSelectionGranularity:enclosingLocation:]
Added -[NSTextSelectionDataSource locationFromLocation:withOffset:]
Added -[NSTextSelectionDataSource offsetFromLocation:toLocation:]
Added -[NSTextSelectionDataSource baseWritingDirectionAtLocation:]
Added -[NSTextSelectionDataSource enumerateCaretOffsetsInLineFragmentAtLocation:usingBlock:]
Added -[NSTextSelectionDataSource lineFragmentRangeForPoint:inContainerAtLocation:]
Added -[NSTextSelectionDataSource enumerateContainerBoundariesFromLocation:reverse:usingBlock:]
Added -[NSTextSelectionDataSource textLayoutOrientationAtLocation:]
NSTextStorage.h
Added NSTextStorage.textStorageObserver
Added NSTextStorageObserving
Added NSTextStorageObserving.textStorage
Added -[NSTextStorageObserving processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:]
Added -[NSTextStorageObserving performEditingTransactionForTextStorage:usingBlock:]
NSTextViewportLayoutController.h
Added NSTextViewportLayoutControllerDelegate
Added -[NSTextViewportLayoutControllerDelegate viewportBoundsForTextViewportLayoutController:]
Added -[NSTextViewportLayoutControllerDelegate textViewportLayoutController:configureRenderingSurfaceForTextLayoutFragment:]
Added -[NSTextViewportLayoutControllerDelegate textViewportLayoutControllerWillLayout:]
Added -[NSTextViewportLayoutControllerDelegate textViewportLayoutControllerDidLayout:]
Added NSTextViewportLayoutController
Added -[NSTextViewportLayoutController initWithTextLayoutManager:]
Added NSTextViewportLayoutController.delegate
Added NSTextViewportLayoutController.textLayoutManager
Added NSTextViewportLayoutController.viewportBounds
Added NSTextViewportLayoutController.viewportRange
Added -[NSTextViewportLayoutController layoutViewport]
Added -[NSTextViewportLayoutController relocateViewportToTextLocation:]
Added -[NSTextViewportLayoutController adjustViewportByVerticalOffset:]
UIAccessibility.h
Modified UIAccessibilityShouldDifferentiateWithoutColorDidChangeNotification
Declaration
FromNSString *const UIAccessibilityShouldDifferentiateWithoutColorDidChangeNotification
Toconst NSNotificationName UIAccessibilityShouldDifferentiateWithoutColorDidChangeNotification

UIAction.h
Added UIActionPaste
Added UIActionPasteAndMatchStyle
Added UIActionPasteAndGo
Added UIActionPasteAndSearch
Added +[UIAction captureTextFromCameraActionForResponder:identifier:]
UIActivityItemsConfigurationReading.h
Added UIActivityItemsConfigurationMetadataKeyLinkPresentationMetadata
Added UIActivityItemsConfigurationProviding
Added UIActivityItemsConfigurationProviding.activityItemsConfiguration
UIApplication.h
Added -[UIApplicationDelegate applicationShouldAutomaticallyLocalizeKeyCommands:]
Modified UIApplication.windows
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UIWindowScene.windows on a relevant window scene instead

UIBackgroundConfiguration.h
Added UIBackgroundConfiguration.image
Added UIBackgroundConfiguration.imageContentMode
UIBandSelectionInteraction.h
Added UIBandSelectionInteractionState
Added UIBandSelectionInteractionStatePossible
Added UIBandSelectionInteractionStateBegan
Added UIBandSelectionInteractionStateSelecting
Added UIBandSelectionInteractionStateEnded
Added UIBandSelectionInteraction
Added UIBandSelectionInteraction.enabled
Added UIBandSelectionInteraction.state
Added UIBandSelectionInteraction.selectionRect
Added UIBandSelectionInteraction.initialModifierFlags
Added UIBandSelectionInteraction.shouldBeginHandler
Added -[UIBandSelectionInteraction initWithSelectionHandler:]
UIBarButtonItem.h
Added UIBarButtonItem.changesSelectionAsPrimaryAction
Added UIBarButtonItem.selected
UIBehavioralStyle.h
Added UIBehavioralStyle
Added UIBehavioralStyleAutomatic
Added UIBehavioralStylePad
Added UIBehavioralStyleMac
Added UIButton.behavioralStyle
Added UIButton.preferredBehavioralStyle
Added UISlider.behavioralStyle
Added UISlider.preferredBehavioralStyle
UIButton.h
Added UIButtonConfigurationUpdateHandler
Added +[UIButton buttonWithConfiguration:primaryAction:]
Added UIButton.configuration
Added -[UIButton setNeedsUpdateConfiguration]
Added -[UIButton updateConfiguration]
Added UIButton.configurationUpdateHandler
Added UIButton.automaticallyUpdatesConfiguration
Added UIButton.hovered
Added UIButton.held
Added UIButton.changesSelectionAsPrimaryAction
Added UIButton.subtitleLabel
Modified UIButton.contentEdgeInsets
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration

Modified UIButton.titleEdgeInsets
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration

Modified UIButton.imageEdgeInsets
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration

Modified UIButton.reversesTitleShadowWhenHighlighted
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration, you may customize to replicate this behavior via a configurationUpdateHandler

Modified UIButton.adjustsImageWhenHighlighted
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration, you may customize to replicate this behavior via a configurationUpdateHandler

Modified UIButton.adjustsImageWhenDisabled
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration, you may customize to replicate this behavior via a configurationUpdateHandler

Modified UIButton.showsTouchWhenHighlighted
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is ignored when using UIButtonConfiguration

Modified -[UIButton backgroundRectForBounds:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedOverride layoutSubviews, call super, and position views as you desire.

Modified -[UIButton contentRectForBounds:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedOverride layoutSubviews, call super, and position views as you desire.

Modified -[UIButton titleRectForContentRect:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedOverride layoutSubviews, call super, and position views as you desire.

Modified -[UIButton imageRectForContentRect:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedOverride layoutSubviews, call super, and position views as you desire.

UIButtonConfiguration.h
Added UIConfigurationTextAttributesTransformer
Added UIButtonConfigurationSize
Added UIButtonConfigurationSizeMedium
Added UIButtonConfigurationSizeSmall
Added UIButtonConfigurationSizeMini
Added UIButtonConfigurationSizeLarge
Added UIButtonConfigurationTitleAlignment
Added UIButtonConfigurationTitleAlignmentAutomatic
Added UIButtonConfigurationTitleAlignmentLeading
Added UIButtonConfigurationTitleAlignmentCenter
Added UIButtonConfigurationTitleAlignmentTrailing
Added UIButtonConfigurationCornerStyle
Added UIButtonConfigurationCornerStyleFixed
Added UIButtonConfigurationCornerStyleDynamic
Added UIButtonConfigurationCornerStyleSmall
Added UIButtonConfigurationCornerStyleMedium
Added UIButtonConfigurationCornerStyleLarge
Added UIButtonConfigurationCornerStyleCapsule
Added UIButtonConfigurationMacIdiomStyle
Added UIButtonConfigurationMacIdiomStyleAutomatic
Added UIButtonConfigurationMacIdiomStyleBordered
Added UIButtonConfigurationMacIdiomStyleBorderless
Added UIButtonConfigurationMacIdiomStyleBorderlessTinted
Added UIButtonConfiguration
Added +[UIButtonConfiguration plainButtonConfiguration]
Added +[UIButtonConfiguration tintedButtonConfiguration]
Added +[UIButtonConfiguration grayButtonConfiguration]
Added +[UIButtonConfiguration filledButtonConfiguration]
Added +[UIButtonConfiguration borderlessButtonConfiguration]
Added +[UIButtonConfiguration borderedButtonConfiguration]
Added +[UIButtonConfiguration borderedTintedButtonConfiguration]
Added +[UIButtonConfiguration borderedProminentButtonConfiguration]
Added -[UIButtonConfiguration updatedConfigurationForButton:]
Added UIButtonConfiguration.background
Added UIButtonConfiguration.cornerStyle
Added UIButtonConfiguration.buttonSize
Added UIButtonConfiguration.macIdiomStyle
Added UIButtonConfiguration.baseForegroundColor
Added UIButtonConfiguration.baseBackgroundColor
Added UIButtonConfiguration.image
Added UIButtonConfiguration.imageColorTransformer
Added UIButtonConfiguration.preferredSymbolConfigurationForImage
Added UIButtonConfiguration.showsActivityIndicator
Added UIButtonConfiguration.activityIndicatorColorTransformer
Added UIButtonConfiguration.title
Added UIButtonConfiguration.attributedTitle
Added UIButtonConfiguration.titleTextAttributesTransformer
Added UIButtonConfiguration.subtitle
Added UIButtonConfiguration.attributedSubtitle
Added UIButtonConfiguration.subtitleTextAttributesTransformer
Added UIButtonConfiguration.contentInsets
Added -[UIButtonConfiguration setDefaultContentInsets]
Added UIButtonConfiguration.imagePlacement
Added UIButtonConfiguration.imagePadding
Added UIButtonConfiguration.titlePadding
Added UIButtonConfiguration.titleAlignment
Added UIButtonConfiguration.automaticallyUpdateForSelection
UICollectionLayoutList.h
Added UICollectionLayoutListConfiguration.headerTopPadding
UICollectionView.h
Added -[UICollectionViewDelegate collectionView:selectionFollowsFocusForItemAtIndexPath:]
Added -[UICollectionViewDelegate collectionView:targetIndexPathForMoveOfItemFromOriginalIndexPath:atCurrentIndexPath:toProposedIndexPath:]
Added -[UICollectionViewDelegate collectionView:sceneActivationConfigurationForItemAtIndexPath:point:]
Added UICollectionView.contextMenuInteraction
Added -[UICollectionView reconfigureItemsAtIndexPaths:]
Added UICollectionView.allowsFocus
Added UICollectionView.allowsFocusDuringEditing
Modified -[UICollectionViewDelegate collectionView:targetIndexPathForMoveFromItemAtIndexPath:toProposedIndexPath:]
AvailabilityReplacement
FromAvailablenone
ToDeprecatedcollectionView:targetIndexPathForMoveOfItemFromOriginalIndexPath:atCurrentIndexPath:toProposedIndexPath:

UICollectionViewCell.h
Added UICollectionViewCellConfigurationUpdateHandler
Added UICollectionViewCell.configurationUpdateHandler
UICollectionViewLayout.h
Added UICollectionViewLayoutAutomaticDimension
UIColorPickerViewController.h
Added -[UIColorPickerViewControllerDelegate colorPickerViewController:didSelectColor:continuously:]
Modified -[UIColorPickerViewControllerDelegate colorPickerViewControllerDidSelectColor:]
AvailabilityReplacement
FromAvailablenone
ToDeprecatedcolorPickerViewController:didSelectColor:continuously:

UIControl.h
Added UIControl.toolTip
Added UIControl.toolTipInteraction
UIDatePicker.h
Added UIDatePicker.roundsToMinuteInterval
UIDeferredMenuElement.h
Added +[UIDeferredMenuElement elementWithUncachedProvider:]
UIDiffableDataSource.h
Added NSDiffableDataSourceSnapshot.reloadedSectionIdentifiers
Added NSDiffableDataSourceSnapshot.reloadedItemIdentifiers
Added NSDiffableDataSourceSnapshot.reconfiguredItemIdentifiers
Added -[NSDiffableDataSourceSnapshot reconfigureItemsWithIdentifiers:]
Added -[UICollectionViewDiffableDataSource applySnapshotUsingReloadData:]
Added -[UICollectionViewDiffableDataSource applySnapshotUsingReloadData:completion:]
Added -[UICollectionViewDiffableDataSource sectionIdentifierForIndex:]
Added -[UICollectionViewDiffableDataSource indexForSectionIdentifier:]
Added -[UITableViewDiffableDataSource applySnapshotUsingReloadData:]
Added -[UITableViewDiffableDataSource applySnapshotUsingReloadData:completion:]
Added -[UITableViewDiffableDataSource sectionIdentifierForIndex:]
Added -[UITableViewDiffableDataSource indexForSectionIdentifier:]
UIFocus.h
Added UIFocusHeadingFirst
Added UIFocusHeadingLast
Added UIFocusGroupPriority
Added UIFocusGroupPriorityIgnored
Added UIFocusGroupPriorityPreviouslyFocused
Added UIFocusGroupPriorityPrioritized
Added UIFocusGroupPriorityCurrentlyFocused
Added UIFocusItem.focusEffect
Added UIFocusItem.focusGroupPriority
Added UIFocusItem.isTransparentFocusItem
UIFocusDebugger.h
Added +[UIFocusDebugger checkFocusGroupTreeForEnvironment:]
UIFocusEffect.h
Added UIFocusEffect
Added +[UIFocusEffect effect]
Added UIFocusHaloEffectPosition
Added UIFocusHaloEffectPositionAutomatic
Added UIFocusHaloEffectPositionOutside
Added UIFocusHaloEffectPositionInside
Added UIFocusHaloEffect
Added +[UIFocusHaloEffect effectWithRect:]
Added +[UIFocusHaloEffect effectWithRoundedRect:cornerRadius:curve:]
Added +[UIFocusHaloEffect effectWithPath:]
Added UIFocusHaloEffect.containerView
Added UIFocusHaloEffect.referenceView
Added UIFocusHaloEffect.position
UIFocusSystem.h
Added UIWindowScene.focusSystem
UIFont.h
Modified UIFont
Protocols
FromNSCopying
ToNSCopying, NSSecureCoding

UIImage.h
Added -[UIImage imageByPreparingForDisplay]
Added -[UIImage prepareForDisplayWithCompletionHandler:]
Added -[UIImage imageByPreparingThumbnailOfSize:]
Added -[UIImage prepareThumbnailOfSize:completionHandler:]
UIImageSymbolConfiguration.h
Added +[UIImageSymbolConfiguration configurationWithHierarchicalColor:]
Added +[UIImageSymbolConfiguration configurationWithPaletteColors:]
Added +[UIImageSymbolConfiguration configurationPreferringMulticolor]
UIInterface.h
Added UIColor.systemBrownColor
Added UIColor.systemMintColor
Added UIColor.systemCyanColor
Added UIColor.tintColor
UIKeyboardLayoutGuide.h
Added UIKeyboardLayoutGuide
Added UIKeyboardLayoutGuide.followsUndockedKeyboard
UIKeyCommand.h
Added UIKeyCommand.wantsPriorityOverSystemBehavior
Added UIKeyCommand.allowsAutomaticLocalization
Added UIKeyCommand.allowsAutomaticMirroring
UIKitDefines.h
Added #def UIKIT_SWIFT_ACTOR_INDEPENDENT
Added #def UIKIT_HAS_UIFOUNDATION_SYMBOLS
UILabel.h
Added UILabel.showsExpansionTextWhenTruncated
UIListContentConfiguration.h
Added +[UIListContentConfiguration prominentInsetGroupedHeaderConfiguration]
Added +[UIListContentConfiguration extraProminentInsetGroupedHeaderConfiguration]
UIListSeparatorConfiguration.h
Added UIListSeparatorConfiguration.visualEffect
UIMenu.h
Added UIMenuOptionsSingleSelection
Added UIMenu.selectedElements
Added UIMenuSidebar
UIMenuElement.h
Added UIMenuElement.subtitle
UINavigationBar.h
Added UINavigationBar.compactScrollEdgeAppearance
UINavigationItem.h
Added UINavigationItem.compactScrollEdgeAppearance
UIPasteboard.h
Added UIPasteboardDetectionPatternLink
Added UIPasteboardDetectionPatternPhoneNumber
Added UIPasteboardDetectionPatternEmailAddress
Added UIPasteboardDetectionPatternPostalAddress
Added UIPasteboardDetectionPatternCalendarEvent
Added UIPasteboardDetectionPatternShipmentTrackingNumber
Added UIPasteboardDetectionPatternFlightNumber
Added UIPasteboardDetectionPatternMoneyAmount
UIPointerAccessory.h
Added UIPointerAccessoryPosition
Added UIPointerAccessoryPositionMake()
Added UIPointerAccessoryPositionTop
Added UIPointerAccessoryPositionTopRight
Added UIPointerAccessoryPositionRight
Added UIPointerAccessoryPositionBottomRight
Added UIPointerAccessoryPositionBottom
Added UIPointerAccessoryPositionBottomLeft
Added UIPointerAccessoryPositionLeft
Added UIPointerAccessoryPositionTopLeft
Added UIPointerAccessory
Added UIPointerAccessory.shape
Added UIPointerAccessory.position
Added UIPointerAccessory.orientationMatchesAngle
Added +[UIPointerAccessory accessoryWithShape:position:]
Added +[UIPointerAccessory arrowAccessoryWithPosition:]
UIPointerRegion.h
Added UIPointerRegion.latchingAxes
UIPointerStyle.h
Added UIPointerStyle.accessories
Added +[UIPointerStyle systemPointerStyle]
UIPopoverPresentationController.h
Added UIPopoverPresentationController.adaptiveSheetPresentationController
UIPresentationController.h
Added -[UIAdaptivePresentationControllerDelegate presentationController:prepareAdaptivePresentationController:]
UIPrintInteractionController.h
Added UIPrintInteractionController.showsPaperOrientation
UIResponder.h
Added -[UIResponderStandardEditActions pasteAndMatchStyle:]
Added -[UIResponderStandardEditActions pasteAndGo:]
Added -[UIResponderStandardEditActions pasteAndSearch:]
Added -[UIResponderStandardEditActions print:]
Added UIKeyInputDelete
Added -[UIResponder captureTextFromCamera:]
Modified UIResponder
Protocols
FromUIPasteConfigurationSupporting, UIResponderStandardEditActions, UIUserActivityRestoring
ToUIActivityItemsConfigurationProviding, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIUserActivityRestoring

UIScene.h
Added UIScene.subtitle
Added -[UISceneDelegate scene:restoreInteractionStateWithUserActivity:]
UISceneEnhancedStateRestoration.h
Added -[UIScene extendStateRestoration]
Added -[UIScene completeStateRestoration]
UIScreen.h
Modified UIScreen.focusedItem
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[UIWindowScene focusSystem].focusedItem instead

Modified UIScreen.focusedView
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[UIWindowScene focusSystem].focusedItem instead

Modified UIScreen.supportsFocus
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[UIWindowScene focusSystem] != nil instead

UISheetPresentationController.h
Added UISheetPresentationControllerDetentIdentifier
Added UISheetPresentationControllerDetentIdentifierMedium
Added UISheetPresentationControllerDetentIdentifierLarge
Added UISheetPresentationControllerDetent
Added +[UISheetPresentationControllerDetent mediumDetent]
Added +[UISheetPresentationControllerDetent largeDetent]
Added UISheetPresentationControllerAutomaticDimension
Added UISheetPresentationControllerDelegate
Added -[UISheetPresentationControllerDelegate sheetPresentationControllerDidChangeSelectedDetentIdentifier:]
Added UISheetPresentationController
Added UISheetPresentationController.delegate
Added UISheetPresentationController.sourceView
Added UISheetPresentationController.prefersEdgeAttachedInCompactHeight
Added UISheetPresentationController.widthFollowsPreferredContentSizeWhenEdgeAttached
Added UISheetPresentationController.prefersGrabberVisible
Added UISheetPresentationController.preferredCornerRadius
Added UISheetPresentationController.detents
Added UISheetPresentationController.selectedDetentIdentifier
Added UISheetPresentationController.largestUndimmedDetentIdentifier
Added UISheetPresentationController.prefersScrollingExpandsWhenScrolledToEdge
Added -[UISheetPresentationController animateChanges:]
UITabBar.h
Added UITabBar.scrollEdgeAppearance
UITabBarItem.h
Added UITabBarItem.scrollEdgeAppearance
UITableView.h
Added -[UITableViewDelegate tableView:selectionFollowsFocusForRowAtIndexPath:]
Added UITableView.prefetchingEnabled
Added UITableView.fillerRowHeight
Added UITableView.sectionHeaderTopPadding
Added UITableView.contextMenuInteraction
Added -[UITableView reconfigureRowsAtIndexPaths:]
Added UITableView.allowsFocus
Added UITableView.allowsFocusDuringEditing
UITableViewCell.h
Added UITableViewCellConfigurationUpdateHandler
Added UITableViewCell.configurationUpdateHandler
UITableViewHeaderFooterView.h
Added UITableViewHeaderFooterViewConfigurationUpdateHandler
Added UITableViewHeaderFooterView.configurationUpdateHandler
UITextField.h
Added UITextField.interactionState
Modified -[UITextField drawTextInRect:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis method is no longer called.

UITextInputTraits.h
Added UITextContentTypeShipmentTrackingNumber
Added UITextContentTypeFlightNumber
Added UITextContentTypeDateTime
UITextView.h
Added UITextView.interactionState
UIToolbar.h
Added UIToolbar.scrollEdgeAppearance
Added UIToolbar.compactScrollEdgeAppearance
UIToolTipInteraction.h
Added UIToolTipInteraction
Added UIToolTipInteraction.delegate
Added UIToolTipInteraction.enabled
Added UIToolTipInteraction.defaultToolTip
Added -[UIToolTipInteraction init]
Added -[UIToolTipInteraction initWithDefaultToolTip:]
Added UIToolTipConfiguration
Added UIToolTipConfiguration.toolTip
Added UIToolTipConfiguration.sourceRect
Added +[UIToolTipConfiguration configurationWithToolTip:]
Added +[UIToolTipConfiguration configurationWithToolTip:inRect:]
Added UIToolTipInteractionDelegate
Added -[UIToolTipInteractionDelegate toolTipInteraction:configurationAtPoint:]
UITrackingLayoutGuide.h
Added UITrackingLayoutGuide
Added -[UITrackingLayoutGuide setConstraints:activeWhenNearEdge:]
Added -[UITrackingLayoutGuide constraintsActiveWhenNearEdge:]
Added -[UITrackingLayoutGuide setConstraints:activeWhenAwayFromEdge:]
Added -[UITrackingLayoutGuide constraintsActiveWhenAwayFromEdge:]
Added -[UITrackingLayoutGuide removeAllTrackedConstraints]
UIView.h
Added UIView.focusGroupPriority
Added UIView.focusEffect
Added UIView.keyboardLayoutGuide
Added UIView.minimumContentSizeCategory
Added UIView.maximumContentSizeCategory
Added UIView.appliedContentSizeCategoryLimitsDescription
UIViewConfigurationState.h
Added UIViewConfigurationState.pinned
UIViewController.h
Added UIViewController.focusGroupIdentifier
Added -[UIViewController setContentScrollView:forEdge:]
Added -[UIViewController contentScrollViewForEdge:]
Added UIViewController.sheetPresentationController
Modified UIPreviewAction
Availability
FromDeprecated
ToAvailable

Modified UIPreviewActionGroup
Availability
FromDeprecated
ToAvailable

UIWindow.h
Added UIWindow.canBecomeKeyWindow
UIWindowScene.h
Added UIWindowScene.keyWindow
Added UIWindowScene.activityItemsConfigurationSource
UIWindowSceneActivationAction.h
Added UIWindowSceneActivationActionConfigurationProvider
Added UIWindowSceneActivationAction
Added UIWindowSceneActivationAction.title
Added +[UIWindowSceneActivationAction actionWithIdentifier:alternateAction:configurationProvider:]
UIWindowSceneActivationConfiguration.h
Added UIWindowSceneActivationConfiguration
Added UIWindowSceneActivationConfiguration.userActivity
Added UIWindowSceneActivationConfiguration.options
Added UIWindowSceneActivationConfiguration.preview
Added -[UIWindowSceneActivationConfiguration initWithUserActivity:]
UIWindowSceneActivationInteraction.h
Added UIWindowSceneActivationInteractionConfigurationProvider
Added UIWindowSceneActivationInteraction
Added -[UIWindowSceneActivationInteraction initWithConfigurationProvider:errorHandler:]
UIWindowSceneActivationRequestOptions.h
Added UIWindowScenePresentationStyle
Added UIWindowScenePresentationStyleAutomatic
Added UIWindowScenePresentationStyleStandard
Added UIWindowScenePresentationStyleProminent
Added UIWindowSceneActivationRequestOptions
Added UIWindowSceneActivationRequestOptions.preferredPresentationStyle