Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Setting the PencilkitToolPicker
guard let window = view.window, let toolPicker = PKToolPicker.shared(for: window) else { return }
toolPicker.setVisible(true, forFirstResponder: canvasView) toolPicker.addObserver(canvasView)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment