One Logo Pool Ball
WeatherKit · IOS API REFERENCE

CloudCoverByAltitude

struct · iOS 18.0+ · SDK 27.1

struct CloudCoverByAltitude

Contains the percentage of sky covered by low, medium and high altitude cloud.

Members (6)

get · iOS 18.0+

low

TypeScript
get low(): number
Swift declaration
var low: Double

The percentage of the sky covered with low-altitude clouds. Low-level Cloud Cover (LCC) corresponds to levels between 0m and 1800m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

set · iOS 18.0+

low

TypeScript
set low(value: number)
Swift declaration
var low: Double

The percentage of the sky covered with low-altitude clouds. Low-level Cloud Cover (LCC) corresponds to levels between 0m and 1800m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

get · iOS 18.0+

high

TypeScript
get high(): number
Swift declaration
var high: Double

The percentage of the sky covered with high-altitude clouds. High-level Cloud Cover (HCC)corresponds to levels higher than 6300m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

set · iOS 18.0+

high

TypeScript
set high(value: number)
Swift declaration
var high: Double

The percentage of the sky covered with high-altitude clouds. High-level Cloud Cover (HCC)corresponds to levels higher than 6300m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

get · iOS 18.0+

medium

TypeScript
get medium(): number
Swift declaration
var medium: Double

The percentage of the sky covered with mid-altitude clouds. Medium-level Cloud Cover (MCC) corresponds to levels between 1800m and 6300m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

set · iOS 18.0+

medium

TypeScript
set medium(value: number)
Swift declaration
var medium: Double

The percentage of the sky covered with mid-altitude clouds. Medium-level Cloud Cover (MCC) corresponds to levels between 1800m and 6300m above the model's earth surface. The value is from `0` (no cloud cover) to `1` (complete cloud cover).

Skipped declarations

No declarations were skipped in this snapshot.

All WeatherKit types →