Can anyone please let me know how to hide the keypad without using 'blur' in titanium for IOS. My scenario is I have a textfield, When I scan an item, that value will be shown on textfield. When textfield is focused, the scanner will be activated. In this scenario i need to focus the textfield, but should not show the keypad.
Can any one please share your ideas.
Thanks, Swathi.
There is no possibility to hide keypad when textfield is focused on iOS. It is a system thing.
I think your approach is wrong. Why do you need textfield if you don't want to type text there? Instead of it: - create label (or label inside view) with proper background (looking like textfield), - add 'click' event which will start scanning (i suppose you have that functionality for 'focus' event), - if you need cursor blinking than create animation next to label.