pub unsafe extern "C-unwind" fn CTGetCoreTextVersion() -> u32👎Deprecated: Use -[NSProcessInfo operatingSystemVersion]
Expand description
Returns the version of the CoreText framework.
This function returns a number indicating the version of the CoreText framework. Note that framework version is not always an accurate indicator of feature availability. The recommended way to use this function is first to check that the function pointer is non-NULL, followed by calling it and comparing its result to a defined constant (or constants). For example, to determine whether the CoreText API is available: if ( &CTGetCoreTextVersion != NULL & & CTGetCoreTextVersion() >= kCTVersionNumber10_5) { // CoreText API is available }
Returns: The version number. This value is for comparison with the constants beginning with kCTVersionNumber and will not exceed kCTVersionNumber11_0.