I have implemented Text on camera feature in two ways
UITextField with UITextContentType and UIKeyboardType as emailAddress, which helps to show a button in the keyboard to open the camera for capturing email.
UITextField with basic text. I implemented a custom UIButton to open the camera for capturing text for this field.
In both cases I'm not getting callback in any of these functions insertText(_ text) setMarkedText(markedText:, selectedRange:) and unmarkText() after user taps Insert Text button.
Help me.
3
0
2.1k