Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Best way to present keyboard #107

Closed
retsohuang opened this issue Sep 12, 2018 · 5 comments
Closed

Question: Best way to present keyboard #107

retsohuang opened this issue Sep 12, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@retsohuang
Copy link

retsohuang commented Sep 12, 2018

Hey there! May I ask what's the best way to make the specific text field in EKFormMessageView to become the first responder?

@HermanKayy
Copy link

I am curious as well. If anyone has an answer please let me know

@huri000
Copy link
Owner

huri000 commented Sep 26, 2018

Hi there! Sorry for taking long to respond! I’ll be back to normal soon and be able to make this adjustment (in several days).
Currently, there is no way to do what you ask (but to fork and change the internals).

@HermanKayy
Copy link

HermanKayy commented Sep 26, 2018 via email

@HermanKayy
Copy link

HermanKayy commented Sep 27, 2018 via email

huri000 added a commit that referenced this issue Sep 28, 2018
… set specific text field as first responder (in condition that the displayed window is a key window).
@huri000 huri000 self-assigned this Sep 28, 2018
@huri000 huri000 added the enhancement New feature or request label Sep 28, 2018
@huri000
Copy link
Owner

huri000 commented Sep 28, 2018

@retsohuang, @HermanKayy - Version 0.7.1 supports exactly that. Please see the CHANGELOG for the exact implementation info. I've added a sample that does that as well, inside PresetsViewController:

func showSignupForm(attributes: inout EKAttributes, style: FormStyle) { ... }

@HermanKayy - About that label issue - I'll look into it today/tomorrow. I'll keep you updated inside the related issue thread.

@huri000 huri000 closed this as completed Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants