Instance Property

activitySummary

The active summary displayed by the activity ring view.

Declaration

var activitySummary: HKActivitySummary? { get set }

Discussion

Any changes made directly to this property are not animated. To animate changes, use setActivitySummary(_:animated:) instead.

See Also

Setting the Activity Summary

func setActivitySummary(HKActivitySummary?, animated: Bool)

Sets the activity summary displayed by the activity ring view.