MonoTouch.ObjCRuntime.Platform Enumeration
Enumeration values for the various iOS and Mac platforms supported by Xamarin.

Syntax

[System.Flags]
public enum Platform

Remarks

This enumeration is also each platform and version that Xamarin's frameworks are aware of. It is the argument type for Introduced, Deprecated, Obsoleted, and Unavailable parameter in the MonoTouch.ObjCRuntime.AvailabilityAttribute constructor.

For example, the Platform.Mac_10_9 has the value 0x000a090000000000 and Platform.iOS_6_1 has the value 0x0000000000060100.

The underlying integer value of each Platform member is an actual version number. Platform values can be OR'd together, but only when the platform actually differs (e.g. a Mac version and an iOS version can be OR'd but two different Mac or iOS versions cannot).

Good: Platform.Mac_10_9 | Platform.iOS_7_0

Bad: Platform.Mac_10_8 | Platform.Mac_10_9

In addition to the MonoTouch.ObjCRuntime.Platform AvailabilityAttribute types, there's also MonoTouch.ObjCRuntime.PlatformHelper which contains a number of useful utilities for working with the Platform enumeration.

Members

Member NameDescription
iOSDocumentation for this section has not yet been entered.
iOS_2_0Documentation for this section has not yet been entered.
iOS_2_2Documentation for this section has not yet been entered.
iOS_3_0Documentation for this section has not yet been entered.
iOS_3_1Documentation for this section has not yet been entered.
iOS_3_2Documentation for this section has not yet been entered.
iOS_4_0Documentation for this section has not yet been entered.
iOS_4_1Documentation for this section has not yet been entered.
iOS_4_2Documentation for this section has not yet been entered.
iOS_4_3Documentation for this section has not yet been entered.
iOS_5_0Documentation for this section has not yet been entered.
iOS_5_1Documentation for this section has not yet been entered.
iOS_6_0Documentation for this section has not yet been entered.
iOS_6_1Documentation for this section has not yet been entered.
iOS_7_0Documentation for this section has not yet been entered.
iOS_7_1Documentation for this section has not yet been entered.
iOS_8_0Documentation for this section has not yet been entered.
iOS_8_1Documentation for this section has not yet been entered.
iOS_8_2Documentation for this section has not yet been entered.
iOS_ArchDocumentation for this section has not yet been entered.
iOS_Arch32Documentation for this section has not yet been entered.
iOS_Arch64Documentation for this section has not yet been entered.
iOS_VersionDocumentation for this section has not yet been entered.
MacDocumentation for this section has not yet been entered.
Mac_10_0Documentation for this section has not yet been entered.
Mac_10_1Documentation for this section has not yet been entered.
Mac_10_10Documentation for this section has not yet been entered.
Mac_10_2Documentation for this section has not yet been entered.
Mac_10_3Documentation for this section has not yet been entered.
Mac_10_4Documentation for this section has not yet been entered.
Mac_10_5Documentation for this section has not yet been entered.
Mac_10_6Documentation for this section has not yet been entered.
Mac_10_7Documentation for this section has not yet been entered.
Mac_10_8Documentation for this section has not yet been entered.
Mac_10_9Documentation for this section has not yet been entered.
Mac_ArchDocumentation for this section has not yet been entered.
Mac_Arch32Documentation for this section has not yet been entered.
Mac_Arch64Documentation for this section has not yet been entered.
Mac_VersionDocumentation for this section has not yet been entered.
NoneDocumentation for this section has not yet been entered.

Requirements

Namespace: MonoTouch.ObjCRuntime
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0