iOSAttribute iOSAttribute Class

Definition

Warning

This API is now obsolete.

Attribute indicating when an API was first introduced in iOS.

[System.Obsolete("Use [Introduced|Deprecated|Obsoleted|Unavailable] attributes with PlatformName.")]
public sealed class iOSAttribute : ObjCRuntime.AvailabilityAttribute
type iOSAttribute = class
    inherit AvailabilityAttribute
Inheritance
Attributes

Remarks

This class is a shortcut to create an AvailabilityAttribute instance.

Constructors

iOSAttribute(Byte, Byte) iOSAttribute(Byte, Byte)

Initializes a new availability attribute for iOS with the specified architecture, major and minor versions.

iOSAttribute(Byte, Byte, Boolean) iOSAttribute(Byte, Byte, Boolean)

Initializes a new availability attribute for iOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures.

iOSAttribute(Byte, Byte, Byte) iOSAttribute(Byte, Byte, Byte)

Initializes a new availability attribute for iOS with the specified architecture, major, minor and subminor versions.

iOSAttribute(Byte, Byte, Byte, Boolean) iOSAttribute(Byte, Byte, Byte, Boolean)

Initializes a new availability attribute for iOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures.

Properties

AlwaysAvailable AlwaysAvailable

Indicates that the member or type can be assumed to always be available (on both macOS and iOS, as well as every version that is currently supported).

(Inherited from AvailabilityAttribute)
Deprecated Deprecated

The first version in which the API was deprecated for a given platform; this means users should begin avoiding the API and migrating to a more suitable one, but it still technically works on the platform, but there is no guarantee for how long it will continue to work.

(Inherited from AvailabilityAttribute)
DeprecatedArchitecture DeprecatedArchitecture

Indicates the platforms on which the member or type has been deprecated.

(Inherited from AvailabilityAttribute)
DeprecatedVersion DeprecatedVersion

Indicates the platforms on which the member or type has been deprecated.

(Inherited from AvailabilityAttribute)
Introduced Introduced

The first version in which an API was introduced for a given platform.

(Inherited from AvailabilityAttribute)
IntroducedArchitecture IntroducedArchitecture

The architectures on which the introduced version applies to.

(Inherited from AvailabilityAttribute)
IntroducedVersion IntroducedVersion

Indicates the versions on API the feature was introduced.

(Inherited from AvailabilityAttribute)
Message Message

The message describing any limitations.

(Inherited from AvailabilityAttribute)
Obsoleted Obsoleted

The first version in which the API was obsoleted from a given platform

(Inherited from AvailabilityAttribute)
ObsoletedArchitecture ObsoletedArchitecture

The architectures the obsoleted version applies to.

(Inherited from AvailabilityAttribute)
ObsoletedVersion ObsoletedVersion

Indicates the version in which the API was obsoleted.

(Inherited from AvailabilityAttribute)
Unavailable Unavailable

The API does currently not exist on a given platform.

(Inherited from AvailabilityAttribute)

Methods

ToString() ToString()

Returns a human readable version of the availability attribute.

(Inherited from AvailabilityAttribute)

Applies to