UIButton.Role Constants that describe the role of the button. Declarationenum Role TopicsButton RolesUIButton.Role.normalUIButton.Role.primaryUIButton.Role.cancelUIButton.Role.destructiveInitializersinit(rawValue:) RelationshipsConforms ToBitwiseCopyableEquatableHashableRawRepresentableSendableSendableMetatype See AlsoSpecifying the rolerole