I am sending an email programmatically from my iPad app.
What I want is when the mail view appears, the cursor should be seen blinking in the "To" field and the keyboard should also appears at the same time.
Can anybody help on this?
Related
I'm creating a signup journey with phone, birthday, ssn, etc using the stepper widget. I'm using firebase for phone auth so on ios, it reads the message and there is a keyboard suggestion with the OTP code. However, the "From Messages - 12345" suggestion stays on the keyboard even after I've used it. It looks like it finally disappears after ~3-4 minutes but I need to hide/remove it right after the phone step. Initially I thought it might be because I'm using a stepper so it's technically one screen. I tried hiding and showing the keyboard to "refresh" the keyboard but the suggestion still shows on all my text fields.
I've tried the solutions here: https://github.com/flutter/flutter/issues/22828
They don't work for me.
enableSuggestions: false,
autocorrect: false
I can't use keyboardType: TextInputType.visiblePassword because my keyboard has to be numbers.
I need your help. I create input text field via native.newTextField() also I add event listener on 'key' for detect hardware "Back" button pressed. When I edit input text field and press Back button I didn't catch this event. How can I solve this? Maybe something check open or not hardware keyboard.
Thanks.
It will never receive it.Check the doc of Corona SDK. They say "Key events will not be received if a native object such as a TextField, TextBox, or WebView handles them."
My app was running fine on ios 8.4, but now after trying it on ios 9 beta, once the app is opened, the cursor on the UITextfield doesn't show up.
The keyboard doesn't come up. Shouldn't it come automatically?
The app works perfectly fine till ios8.4. Can some one help me out?
After one tap gesture on the UITextField, cursor doesn't show up at all.
Also, I tried checking the tintColor property as well as suggested by some users, but it is default blue.
Is there some specific change made in the way keyboard works on ios9?
A Situation - When I click on Login button, Alert message is displayed and then on pressing ok, the keyboard appears with a cursor but I can type only 1 character and suddenly the cursor and keyboard disappears. Then again, click on login, get the error message, cursor is available, type 1 character and cursor and keyboard disappears again.
Why is cursor on visible when tapped on a UITextField. This according to me must be a simple automatic thing. I have used resignFirstResponder and becomeFirstResponder too.
Anything to do with the Views here? For example, super view or something?
Thanks in advance!
Shrikant Kekane
The situation you have described is not happening when I tried the same.
The steps I followed:
Drag and drop one UITextField in Storyboard.
Give it required constraints.
Build & Run.
Keyboard and cursor both work perfectly in iOS9 simulator.
I currently have the UIKeyboardWillHideNotification setup with my keyboard. When i tap the keyboard's emoji button, the notification is called, drastically messing up my UI (for i have a tool bar with a text field "attached" to it). I assume this is suppose to happen, but is there a way to detect if the keyboard is simply switching the type of keyboard? I would like that notification to be called only when the keyboard actually closes. Thank you!
duplicate question
Notice that after iOS7, Apple suggest use textInputMode.primaryLanguage, but the emoji keyboard will return nil when you access the primaryLanguage. Seem like it's a bug.
I'm building chat application for mobile devices with Adobe Flash Builder 4.6.
I have s:TextInput for message entering and s:Button for sending message.
When user enters message and taps "Send" keyboard goes down. I want to keep it opened.
I can use textInput.setFocus() and setFocus with setTimeout(), but it gives unexpected results sometimes. For example soft keyboard can jump or goes down without resizing stage.
Could you recommend good solution for keeping soft keyboard opened when taping outside text input (focus should left in text input).
What worked for me was:
Create a listener for the TextInput focus out event
Put textInput.setFocus() code in that listener handler
When I want the textInput to be able to focus out for specific cases I create a lockFocus variable for the listener to check first before deciding to reassign focus or not.
Hope that helps!