CLActivityType
extension CLActivityType
Extends each CLActivityType to have a description and a name.
-
Returns the string name of this activty type
Declaration
Swift
var name: String { get }
-
Returns a brief description of the purpose of the activty. For example: for the activity type .other the description is “System default. Automatically selects the mode”
Declaration
Swift
var description: String { get }
-
Number of activity types (5)
Declaration
Swift
static var count: Int { get }