| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name |
| To | - (instancetype)initWithName:(NSDataAssetName)name |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name bundle:(NSBundle *)bundle |
| To | - (instancetype)initWithName:(NSDataAssetName)name bundle:(NSBundle *)bundle |
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly, copy) NSString *name |
| To | @property (nonatomic, readonly, copy) NSDataAssetName name |
| Declaration | |
|---|---|
| From | + (NSArray<__kindof NSLayoutConstraint *> *)constraintsWithVisualFormat:(NSString *)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary<NSString *,id> *)metrics views:(NSDictionary<NSString *,id> *)views |
| To | + (NSArray<NSLayoutConstraint *> *)constraintsWithVisualFormat:(NSString *)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary<NSString *,id> *)metrics views:(NSDictionary<NSString *,id> *)views |
| Protocols | |
|---|---|
| From | NSCoding |
| To | NSSecureCoding |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | @property (nonatomic) CGFloat hyphenationFactor | Available | none |
| To | @property CGFloat hyphenationFactor | Deprecated | Please use usesDefaultHyphenation or -[NSParagraphStyle hyphenationFactor] instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | showCGGlyphs:positions:count:font:textMatrix:attributes:inContext: |
| Protocols | |
|---|---|
| From | NSCoding, NSTextAttachmentContainer, UIAccessibilityContentSizeCategoryImageAdjusting |
| To | NSSecureCoding, NSTextAttachmentContainer, UIAccessibilityContentSizeCategoryImageAdjusting |
| Protocols | |
|---|---|
| From | NSCoding, NSTextLayoutOrientationProvider |
| To | NSSecureCoding, NSTextLayoutOrientationProvider |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIAcceleration has been replaced by the CoreMotion framework |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIAcceleration has been replaced by the CoreMotion framework |
| Superclass | |
|---|---|
| From | NSObject |
| To | UIResponder |
| Declaration | |
|---|---|
| From | @property (nonatomic, assign) id accessibilityContainer |
| To | @property (nonatomic, weak) id accessibilityContainer |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActivityIndicatorViewStyleLarge |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActivityIndicatorViewStyleMedium |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIActivityIndicatorViewStyleMedium |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Please use PushKit for VoIP applications. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIView's userInteractionEnabled property instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIView's userInteractionEnabled property instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIView's userInteractionEnabled property instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Provide a custom network activity UI in your app if desired. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the statusBarManager property of the window scene instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a BGAppRefreshTask in the BackgroundTasks framework instead |
| Declaration | |
|---|---|
| From | - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| To | - (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey,id> *)launchOptions |
| Declaration | |
|---|---|
| From | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
| To | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary<UIApplicationLaunchOptionsKey,id> *)launchOptions |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Declaration | |
|---|---|
| From | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification completionHandler:(void (^)())completionHandler |
| To | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification completionHandler:(void (^)(void))completionHandler |
| Declaration | |
|---|---|
| From | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo withResponseInfo:(NSDictionary *)responseInfo completionHandler:(void (^)())completionHandler |
| To | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo withResponseInfo:(NSDictionary *)responseInfo completionHandler:(void (^)(void))completionHandler |
| Declaration | |
|---|---|
| From | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo completionHandler:(void (^)())completionHandler |
| To | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forRemoteNotification:(NSDictionary *)userInfo completionHandler:(void (^)(void))completionHandler |
| Declaration | |
|---|---|
| From | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification withResponseInfo:(NSDictionary *)responseInfo completionHandler:(void (^)())completionHandler |
| To | - (void)application:(UIApplication *)application handleActionWithIdentifier:(NSString *)identifier forLocalNotification:(UILocalNotification *)notification withResponseInfo:(NSDictionary *)responseInfo completionHandler:(void (^)(void))completionHandler |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use a BGAppRefreshTask in the BackgroundTasks framework instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use viewWillTransitionToSize:withTransitionCoordinator: instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | collectionView:contextMenuConfigurationForRowAtIndexPath: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | collectionView:contextMenuConfigurationForRowAtIndexPath: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | collectionView:contextMenuConfigurationForRowAtIndexPath: |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use -[UIDevice userInterfaceIdiom] directly. |
| Declaration | |
|---|---|
| From | NSString *const UIDocumentBrowserErrorDomain |
| To | const NSErrorDomain UIDocumentBrowserErrorDomain |
| Declaration | |
|---|---|
| From | @property (nonatomic, strong) NSArray<UIDocumentBrowserAction *> *customActions |
| To | @property (nonatomic, copy) NSArray<UIDocumentBrowserAction *> *customActions |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIDocumentMenuDelegate is deprecated. Use UIDocumentPickerViewController directly. |
| Superclass | Protocols | |
|---|---|---|
| From | NSObject | NSCopying |
| To | UIPreviewParameters | none |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIBarStyleBlack instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIBarStyleBlack and set the translucent property to YES instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | systemGroupedBackgroundColor |
| Superclass | Protocols | |
|---|---|---|
| From | NSObject | NSCopying, NSSecureCoding |
| To | UICommand | none |
| Declaration | |
|---|---|
| From | + (UIKeyCommand *)keyCommandWithInput:(NSString *)input modifierFlags:(UIKeyModifierFlags)modifierFlags action:(SEL)action |
| To | + (instancetype)keyCommandWithInput:(NSString *)input modifierFlags:(UIKeyModifierFlags)modifierFlags action:(SEL)action |
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | + (UIKeyCommand *)keyCommandWithInput:(NSString *)input modifierFlags:(UIKeyModifierFlags)modifierFlags action:(SEL)action discoverabilityTitle:(NSString *)discoverabilityTitle | Available | none |
| To | + (instancetype)keyCommandWithInput:(NSString *)input modifierFlags:(UIKeyModifierFlags)modifierFlags action:(SEL)action discoverabilityTitle:(NSString *)discoverabilityTitle | Deprecated | keyCommandWithInput:modifierFlags:action: |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | @property (nonatomic, getter=isMenuVisible) BOOL menuVisible | Available | none |
| To | - (void)setMenuVisible:(BOOL)menuVisible | Deprecated | Use showMenuFromView:rect: or hideMenuFromView: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use showMenuFromView:rect: or hideMenuFromView: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use showMenuFromView:rect: instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | This property has no effect on iOS 7 and later. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | No longer supported |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | presentationControllerShouldDismiss: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | presentationControllerDidDismiss: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | modalInPresentation |
| Declaration | |
|---|---|
| From | @property (nonatomic, copy) NSArray<UIPrintFormatter *> *printFormatters |
| To | @property (atomic, copy) NSArray<UIPrintFormatter *> *printFormatters |
| Declaration | Availability | Deprecation Message | |
|---|---|---|---|
| From | @property (nonatomic) UIEdgeInsets scrollIndicatorInsets | Available | none |
| To | - (UIEdgeInsets)scrollIndicatorInsets | Deprecated | The scrollIndicatorInsets getter is deprecated, use the verticalScrollIndicatorInsets and horizontalScrollIndicatorInsets getters instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | obscuresBackgroundDuringPresentation |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIContextualAction and related APIs instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIContextualAction and related APIs instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIContextualAction and related APIs instead. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use UIContextualAction and related APIs instead. |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | tableView:trailingSwipeActionsConfigurationForRowAtIndexPath: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | tableView:contextMenuConfigurationForRowAtIndexPath:point: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | tableView:contextMenuConfigurationForRowAtIndexPath:point: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | tableView:contextMenuConfigurationForRowAtIndexPath: |
| Superclass | Protocols | |
|---|---|---|
| From | NSObject | NSCopying |
| To | UIPreviewTarget | none |
| Superclass | Protocols | |
|---|---|---|
| From | NSObject | NSCopying |
| To | UITargetedPreview | none |
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly, getter=isTextDropActive) _Bool textDropActive |
| To | @property (nonatomic, readonly, getter=isTextDropActive) BOOL textDropActive |
| Declaration | |
|---|---|
| From | - (UITextWritingDirection)baseWritingDirectionForPosition:(UITextPosition *)position inDirection:(UITextStorageDirection)direction |
| To | - (NSWritingDirection)baseWritingDirectionForPosition:(UITextPosition *)position inDirection:(UITextStorageDirection)direction |
| Declaration | |
|---|---|
| From | - (void)setBaseWritingDirection:(UITextWritingDirection)writingDirection forRange:(UITextRange *)range |
| To | - (void)setBaseWritingDirection:(NSWritingDirection)writingDirection forRange:(UITextRange *)range |
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly) UITextWritingDirection writingDirection |
| To | @property (nonatomic, readonly) NSWritingDirection writingDirection |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | NSWritingDirection |
| Protocols | |
|---|---|
| From | CALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UITraitEnvironment |
| To | CALayerDelegate, NSCoding, UIAccessibilityIdentification, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UITraitEnvironment |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | Use the block-based animation API instead |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | canPerformUnwindSegueAction:fromViewController:sender: |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Replacement | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIContextMenuInteraction |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. |
| Availability | Deprecation Message | |
|---|---|---|
| From | Available | none |
| To | Deprecated | UIViewControllerPreviewing is deprecated. Please use UIContextMenuInteraction. |
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | @property (nonatomic, strong) UIScreen *screen | Available | none |
| To | - (void)setScreen:(UIScreen *)screen | Deprecated | setWindowScene: |