| 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 | 
| 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 | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | UIMenuElementStateOff | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | UIMenuElementStateOn | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | UIMenuElementStateMixed | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | UIMenuElementOptionsHidden | 
| Protocols | |
|---|---|
| From | NSCopying, NSMutableCopying, NSSecureCoding | 
| To | none | 
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly) NSString *discoverabilityTitle | 
| To | @property (nonatomic, copy) NSString *discoverabilityTitle | 
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly) UICommandState state | 
| To | @property (nonatomic) UIMenuElementState state | 
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | @property (nonatomic, readonly, getter=isEnabled) BOOL enabled | Available | none | 
| To | @property (nonatomic, getter=isEnabled) BOOL enabled | Deprecated | attributes | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | commandWithTitle:action:propertyList: | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | commandWithTitle:image:action:propertyList: | 
| Protocols | |
|---|---|
| From | none | 
| To | NSMutableCopying | 
| Declaration | Availability | |
|---|---|---|
| From | - (void)setDiscoverabilityTitle:(NSString *)discoverabilityTitle | Deprecated | 
| To | @property (nonatomic, copy) NSString *discoverabilityTitle | Available | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | commandWithTitle:image:action:input:modifierFlags:propertyList: | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | commandWithTitle:image:action:input:modifierFlags:propertyList:alternates: | 
| Availability | Replacement | |
|---|---|---|
| From | Available | none | 
| To | Deprecated | UIKeyCommand | 
| Protocols | |
|---|---|
| From | NSCopying, UICommandGroupable | 
| To | NSCopying, NSSecureCoding, UICommandGroupable | 
| Declaration | |
|---|---|
| From | - (void)validateCommand:(UIMutableCommand *)command | 
| To | - (void)validateCommand:(UICommand *)command | 
| Declaration | |
|---|---|
| From | @property (nonatomic, readonly, getter=isTextDropActive) _Bool textDropActive | 
| To | @property (nonatomic, readonly, getter=isTextDropActive) BOOL textDropActive | 
| Declaration | Availability | Replacement | |
|---|---|---|---|
| From | @property (nonatomic, strong) UIScreen *screen | Available | none | 
| To | - (void)setScreen:(UIScreen *)screen | Deprecated | setWindowScene: |