duration The total time elapsed while in active state. Declarationvar duration: TimeInterval { get } See AlsoGetting the activity propertiesstartDateendDatecreationDatelastResumeDate