One Logo Pool Ball
HealthKit · IOS API REFERENCE

HKCategoryType

class · iOS 8.0+ · SDK 27.1

class HKCategoryType

Members (1)

init · iOS 15.0+

init

TypeScript
static init(identifier: HKCategoryTypeIdentifier): HKCategoryType
Swift declaration
convenience init(_ identifier: HKCategoryTypeIdentifier)

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

HKCategoryType.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All HealthKit types →