One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKResponderState

class · iOS 26.0+ · SDK 27.1

class PKResponderState

Members (5)

init

init

TypeScript
static init(): PKResponderState
Swift declaration
init()
get · iOS 26.0+

activeToolPicker

TypeScript
get activeToolPicker(): (PKToolPicker) | null
Swift declaration
var activeToolPicker: PKToolPicker? { get set }
set · iOS 26.0+

activeToolPicker

TypeScript
set activeToolPicker(value: (PKToolPicker) | null)
Swift declaration
var activeToolPicker: PKToolPicker? { get set }
get · iOS 26.0+

toolPickerVisibility

TypeScript
get toolPickerVisibility(): (PKToolPickerVisibility) | null
Swift declaration
var toolPickerVisibility: PKToolPickerVisibility? { get set }

The visibility state of the tool picker. This controls the state of the tool picker that is provided by the `activeToolPicker` property. If `nil` tool picker visibility is based on the next responder. If no responder provides a visibility, the default is `.visible`.

set · iOS 26.0+

toolPickerVisibility

TypeScript
set toolPickerVisibility(value: (PKToolPickerVisibility) | null)
Swift declaration
var toolPickerVisibility: PKToolPickerVisibility? { get set }

The visibility state of the tool picker. This controls the state of the tool picker that is provided by the `activeToolPicker` property. If `nil` tool picker visibility is based on the next responder. If no responder provides a visibility, the default is `.visible`.

Skipped declarations

No declarations were skipped in this snapshot.

All PencilKit types →