#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UITextInputContext.h // UIKit // // Copyright © 2023 Apple Inc. All rights reserved. // #import // UITextInputContext provides a way to indicate Scribble, dictation, and hardware keyboard input. UIKIT_EXTERN API_AVAILABLE(ios(16.4)) @interface UITextInputContext : NSObject @property (nonatomic, readwrite, getter=isPencilInputExpected) BOOL pencilInputExpected; @property (nonatomic, readwrite, getter=isDictationInputExpected) BOOL dictationInputExpected; @property (nonatomic, readwrite, getter=isHardwareKeyboardInputExpected) BOOL hardwareKeyboardInputExpected; - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; + (UITextInputContext *)current; @end #else #import #endif