public interface UIScribbleInteractionDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
scribbleInteractionDidFinishWriting(UIScribbleInteraction interaction)
Will be called when the user finished writing into the interaction's view, after the last word has been transcribed and committed.
|
default boolean |
scribbleInteractionShouldBeginAtLocation(UIScribbleInteraction interaction,
CGPoint location)
Allows the delegate to prevent Scribble from starting at a specific location in the view.
|
default boolean |
scribbleInteractionShouldDelayFocus(UIScribbleInteraction interaction)
Allow the delegate to delay focusing (making first responder) the text input view.
|
default void |
scribbleInteractionWillBeginWriting(UIScribbleInteraction interaction)
Will be called when the user begins writing into the interaction's view.
|
default boolean scribbleInteractionShouldBeginAtLocation(UIScribbleInteraction interaction, CGPoint location)
interaction - The interaction asking if it can begin handling user input.location - The location in the interaction's view coordinate system.default void scribbleInteractionDidFinishWriting(UIScribbleInteraction interaction)
interaction - The interaction notifying about writing state changes.default boolean scribbleInteractionShouldDelayFocus(UIScribbleInteraction interaction)
interaction - The interaction asking about delaying focus.default void scribbleInteractionWillBeginWriting(UIScribbleInteraction interaction)
interaction - The interaction notifying about writing state changes.