Skip to content

Instance PropertyFoundationEssentials

continent

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
The continent that contains this region, if any.
var continent: Locale.Region? { get }

Discussion

This value can be nil when the system can’t determine the appropriate continent, such as when the region isn’t an ISO region.