Your guide to keyboard layout

RSS for tag

Discuss the WWDC21 session Your guide to keyboard layout.

Posts under wwdc21-10259 tag

18 Posts

Post

Replies

Boosts

Views

Activity

Keyboard and trackpad issue Monterey
My keyboard and trackpad don’t work since Monterey last beta version installation. I have tried to reinstall bootcamp drivers with windows utility and nothing! I have to use USB keyboard and mouse to start computer and work with. Is someone could Help me to solve this problem? MacBook Pro A1502 Monterey last beta version + windows pro
1
0
948
May ’22
Keyboard Extension Unexpectedly Disabled When Updated
Hello, I am a developer for a custom keyboard extension. We have noticed an issue long time ago that our keyboard may be disabled (either the device switches keyboard by itself or Full Access is disabled) when the user upgrades to a new version. With the release of iOS 15, we have found that this issue is getting worse as we have been receiving user feedbacks that our keyboard was removed from the keyboard list (in addition to the two disabling behaviors above), and they have had some difficulty finding our product on their device. I believe that this issue is discouraging developers from releasing new features for iOS 15 users as DAU drops every time we upload a new version. Please can anyone help us with this issue?
1
0
1.4k
Apr ’22
Impossible to set up layout with view hierarchy unprepared for constraint.
After upgrading to ios15, there are many crashes. What is the reason?? -[UIView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 468 -[UIView _tryToAddConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 212 -[UIView(UIConstraintBasedLayout) nsli_addConstraint:]  -[UIView(UIConstraintBasedLayout) addConstraints:]_block_invoke + 176 0x000000019b069000 + 34296 -[UIView(UIConstraintBasedLayout) addConstraints:] + 196 -[UIInputWindowControllerHostingItem updateVisibilityConstraintsForPlacement:] + 440 -[UIInputWindowControllerHostingItem updateViewConstraints] + 6888 -[UIInputWindowControllerHosting updateViewConstraints] + -[UIInputWindowController updateViewConstraints] + 92 -[UIInputWindowController changeToInputViewSet:] + 2252 ___43-[UIInputWindowController setInputViewSet:]_block_invoke.1285 + 40 ___77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1042 + 1600 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 724 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248 -[UIViewAnimationState animationDidStop:finished:] + 244 0x00000001861eb000 + 821768 libdispatch.dylib __dispatch_client_callout + 20
2
0
926
Mar ’22
Keyboard, SwiftUI, TextFields and TextEditor
It would be great to be able to set the first responder manually in SwiftUI (e.g. focus TextField or dismiss the keyboard). It would be great to be able to add a toolbar above the keyboard (add custom buttons like a ready or next button) It would be great to be able to automatically shrink the visible view when the keyboard comes in to view. Like a VStack with the view and the keyboard.
0
0
508
Feb ’22
How to add words to dictionary in iOS for words the keyboard suggests and for voice dictation?
For iOS, is there any way to add words into the dictionary that voice dictation recognizes and to the dictionary that the bar on top of the keyboard uses, that shows suggestions for words? I would like to make an iOS app that uses Biblical words such as "thee" and "thou". Any ideas will be appreciated.
0
0
1.1k
Feb ’22
What is wrong with the iOS Keyboard toolbar in SwiftUI
SwiftUI Toolbar has a weird behavior when applied to items in a list, I created a gist to show it: https://gist.github.com/joni8a/bc021ef597cb6efa1ab0ca277d602478. When applying the toolbar modifier to the detail view, it displays 3 buttons instead of one. If I apply the toolbar modifier to the list itself, it only gets displayed once. How can that be? How can I have a different toolbar modifier for each textfield? Have a look at: https://stackoverflow.com/questions/70810791/what-is-wrong-with-the-ios-keyboard-toolbar-in-swiftui
0
0
511
Jan ’22
Issue with textarea when displaying keyboard
I have created native app with textarea and found willshow and didshow callback is called again when dismissing the keyboard which is checked in xcode 13 & iOS 15.So my expected result for keyboard show in textarea is willshow:didshow:willhide:didhide.But i am getting the result as willshow:didshow:willshow:didshow:willhide:didhide.Kindly provide any suggestions regarding this
0
0
549
Sep ’21
WKWebView keyboard suggestions not showing for email field.
WKWebView keyboard suggestions not showing for email field/username field. We tried the autocomplete attribute - ‘username’ in the HTML page content.  The HTML page has the following code for the above - input id="user-text-field" type="email" autocomplete="username We are currently using iPhone7 with iOS version 14.4, and iPhone X with 14.5 iOS version. Any help would be greatly appreciated. Thank you
0
0
603
Sep ’21
Issue about UIKeyboardDidChangeFrameNotification not being sent
Hello, I am developing a custom keyboard. Our team have been having trouble with the UIKeyboardDidChangeFrameNotification. I am looking for some help. My keyboard extension has a function that increases the keyboard height when enabled. However, the host do not always get the UIKeyboardDidChangeFrameNotification on such changes, causing layout problems in the hosting app. Here is my setup: Xcode 13 Beta5, iOS 14.4 on iPhone XR. I debugged with a UITextField in a dummy application. One way to reproduce this issue is like this: 1.Launch my keyboard in the hosting app (UIKeyboardDidChangeFrameNotification is received as expected) 2.Toggle keyboard height change (UIKeyboardDidChangeFrameNotification is NOT received sometimes) 3.Return to home. Open the hosting app, where my keyboard has resumed its normal height. (UIKeyboardDidChangeFrameNotification is NOT received sometimes) I believe this is a bug with UIKit where keyboard frame change notifications are not sent properly. We have been receiving feedbacks from our users related to this issue. For example, some users reported that the height of the comment box in Youtube may not be located properly when our keyboard changed its height. This has an impact on our user retention. If anyone has had the same issue, please leave a comment below :)
0
0
460
Sep ’21
Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes
Hello, I am iOS developer who is developing a custom keyboard. Our team have been having trouble with the UIKeyboardDidChangeFrameNotification. I am looking for some help. My keyboard extension has a function that increases the keyboard height when enabled. However, the host can not always get the UIKeyboardDidChangeFrameNotification on such changes, causing layout problems in the hosting app. And here is my setup: Xcode 12.5, iOS 14.7.1 on iPhone 12 Pro Max. I debugged with a UITextField in a dummy application. One way to reproduce this issue is like this: Launch my keyboard in the hosting app (UIKeyboardDidChangeFrameNotification is received as expected) Toggle keyboard height change (UIKeyboardDidChangeFrameNotification is NOT received sometimes) Return to home. Open the hosting app, where my keyboard has resumed its normal height. (UIKeyboardDidChangeFrameNotification is NOT received sometimes) If anyone has met the same issue, please leave a comment below :). Thanks a lot.
0
0
538
Sep ’21
Issue: UIKeyboardDidChangeFrameNotification not being sent
Hello, I am a developer for a custom keyboard extension. I want to report an issue about UIKeyboardDidChangeFrameNotification. My keyboard extension has a function that increases the keyboard height when enabled. However, the hosting app do NOT always get the UIKeyboardDidChangeFrameNotification on such changes, causing unpredictable layout problems in the host. Here is my setup: Xcode 13 Beta5, iOS 14.7.1 on iPhone 11 Pro. I debugged with a UITextField in a dummy application. The problem can be reproduced with the following steps: Launch the keyboard in the dummy app. Toggle some function that changes the keyboard height. Here the UIKeyboardDidChangeFrameNotification is NOT received in the host sometimes. Return to home and re-open the host, where the keyboard resumes its normal height. Here the UIKeyboardDidChangeFrameNotification is NOT received in the host sometimes. From my experience, this issue has been around for years and we still get complaints from our users every month. Leave a comment if you had the same issue :)
0
0
663
Sep ’21
Keyboard layout move to upper
ipados14.7.1 Why my keyboard move to upper it’s very hard to typing. url or my input all hidden by this keyboard. i want to capture and sent u, please help me. Please advice me. This is not convenience, not user friendly, please
2
0
580
Aug ’21
Keyboard and trackpad issue Monterey
My keyboard and trackpad don’t work since Monterey last beta version installation. I have tried to reinstall bootcamp drivers with windows utility and nothing! I have to use USB keyboard and mouse to start computer and work with. Is someone could Help me to solve this problem? MacBook Pro A1502 Monterey last beta version + windows pro
Replies
1
Boosts
0
Views
948
Activity
May ’22
Keyboard Extension Unexpectedly Disabled When Updated
Hello, I am a developer for a custom keyboard extension. We have noticed an issue long time ago that our keyboard may be disabled (either the device switches keyboard by itself or Full Access is disabled) when the user upgrades to a new version. With the release of iOS 15, we have found that this issue is getting worse as we have been receiving user feedbacks that our keyboard was removed from the keyboard list (in addition to the two disabling behaviors above), and they have had some difficulty finding our product on their device. I believe that this issue is discouraging developers from releasing new features for iOS 15 users as DAU drops every time we upload a new version. Please can anyone help us with this issue?
Replies
1
Boosts
0
Views
1.4k
Activity
Apr ’22
Impossible to set up layout with view hierarchy unprepared for constraint.
After upgrading to ios15, there are many crashes. What is the reason?? -[UIView _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 468 -[UIView _tryToAddConstraint:roundingAdjustment:mutuallyExclusiveConstraints:] + 212 -[UIView(UIConstraintBasedLayout) nsli_addConstraint:]  -[UIView(UIConstraintBasedLayout) addConstraints:]_block_invoke + 176 0x000000019b069000 + 34296 -[UIView(UIConstraintBasedLayout) addConstraints:] + 196 -[UIInputWindowControllerHostingItem updateVisibilityConstraintsForPlacement:] + 440 -[UIInputWindowControllerHostingItem updateViewConstraints] + 6888 -[UIInputWindowControllerHosting updateViewConstraints] + -[UIInputWindowController updateViewConstraints] + 92 -[UIInputWindowController changeToInputViewSet:] + 2252 ___43-[UIInputWindowController setInputViewSet:]_block_invoke.1285 + 40 ___77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1042 + 1600 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 724 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248 -[UIViewAnimationState animationDidStop:finished:] + 244 0x00000001861eb000 + 821768 libdispatch.dylib __dispatch_client_callout + 20
Replies
2
Boosts
0
Views
926
Activity
Mar ’22
Keyboard, SwiftUI, TextFields and TextEditor
It would be great to be able to set the first responder manually in SwiftUI (e.g. focus TextField or dismiss the keyboard). It would be great to be able to add a toolbar above the keyboard (add custom buttons like a ready or next button) It would be great to be able to automatically shrink the visible view when the keyboard comes in to view. Like a VStack with the view and the keyboard.
Replies
0
Boosts
0
Views
508
Activity
Feb ’22
How to add words to dictionary in iOS for words the keyboard suggests and for voice dictation?
For iOS, is there any way to add words into the dictionary that voice dictation recognizes and to the dictionary that the bar on top of the keyboard uses, that shows suggestions for words? I would like to make an iOS app that uses Biblical words such as "thee" and "thou". Any ideas will be appreciated.
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’22
How to use keyboardLayoutGuide with UIScrollView?
I see from the docs and session how to anchor a view to the keyboard using the new keyboardLayoutGuide on UIView, but how do use keyboardLayoutGuide to replace the old way of handling keyboard notifications and adjusting the contentInset of the scroll view?
Replies
0
Boosts
0
Views
996
Activity
Feb ’22
What is wrong with the iOS Keyboard toolbar in SwiftUI
SwiftUI Toolbar has a weird behavior when applied to items in a list, I created a gist to show it: https://gist.github.com/joni8a/bc021ef597cb6efa1ab0ca277d602478. When applying the toolbar modifier to the detail view, it displays 3 buttons instead of one. If I apply the toolbar modifier to the list itself, it only gets displayed once. How can that be? How can I have a different toolbar modifier for each textfield? Have a look at: https://stackoverflow.com/questions/70810791/what-is-wrong-with-the-ios-keyboard-toolbar-in-swiftui
Replies
0
Boosts
0
Views
511
Activity
Jan ’22
Default Keyboard space bar not working properly on UITextView or UITextFiled
When tapping its behaving like long press for single click, and keyboard is flashing and keys are vanishing. Space button pressed after 3-4 time its give a single space
Replies
0
Boosts
0
Views
535
Activity
Oct ’21
Issue with textarea when displaying keyboard
I have created native app with textarea and found willshow and didshow callback is called again when dismissing the keyboard which is checked in xcode 13 & iOS 15.So my expected result for keyboard show in textarea is willshow:didshow:willhide:didhide.But i am getting the result as willshow:didshow:willshow:didshow:willhide:didhide.Kindly provide any suggestions regarding this
Replies
0
Boosts
0
Views
549
Activity
Sep ’21
Keypad Missing WhatsApp
While on a WhatsApp call, if I need to add a participant, the keypad to search for the participants name in the list of contacts does not appear, making the search extremely difficult. I'm using an iPhone 12. Attaching a screenshot for reference.
Replies
0
Boosts
0
Views
1k
Activity
Sep ’21
WKWebView keyboard suggestions not showing for email field.
WKWebView keyboard suggestions not showing for email field/username field. We tried the autocomplete attribute - ‘username’ in the HTML page content.  The HTML page has the following code for the above - input id="user-text-field" type="email" autocomplete="username We are currently using iPhone7 with iOS version 14.4, and iPhone X with 14.5 iOS version. Any help would be greatly appreciated. Thank you
Replies
0
Boosts
0
Views
603
Activity
Sep ’21
Issue about UIKeyboardDidChangeFrameNotification not being sent
Hello, I am developing a custom keyboard. Our team have been having trouble with the UIKeyboardDidChangeFrameNotification. I am looking for some help. My keyboard extension has a function that increases the keyboard height when enabled. However, the host do not always get the UIKeyboardDidChangeFrameNotification on such changes, causing layout problems in the hosting app. Here is my setup: Xcode 13 Beta5, iOS 14.4 on iPhone XR. I debugged with a UITextField in a dummy application. One way to reproduce this issue is like this: 1.Launch my keyboard in the hosting app (UIKeyboardDidChangeFrameNotification is received as expected) 2.Toggle keyboard height change (UIKeyboardDidChangeFrameNotification is NOT received sometimes) 3.Return to home. Open the hosting app, where my keyboard has resumed its normal height. (UIKeyboardDidChangeFrameNotification is NOT received sometimes) I believe this is a bug with UIKit where keyboard frame change notifications are not sent properly. We have been receiving feedbacks from our users related to this issue. For example, some users reported that the height of the comment box in Youtube may not be located properly when our keyboard changed its height. This has an impact on our user retention. If anyone has had the same issue, please leave a comment below :)
Replies
0
Boosts
0
Views
460
Activity
Sep ’21
Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes
My keyboard extension has a function that increases the keyboard height when enabled. However, the hosting app do not always get the UIKeyboardDidChangeFrameNotification on such changes, causing unpredictable layout problems in the host.
Replies
0
Boosts
0
Views
502
Activity
Sep ’21
Hosting app not receiving UIKeyboardDidChangeFrameNotification when keyboard frame changes
Hello, I am iOS developer who is developing a custom keyboard. Our team have been having trouble with the UIKeyboardDidChangeFrameNotification. I am looking for some help. My keyboard extension has a function that increases the keyboard height when enabled. However, the host can not always get the UIKeyboardDidChangeFrameNotification on such changes, causing layout problems in the hosting app. And here is my setup: Xcode 12.5, iOS 14.7.1 on iPhone 12 Pro Max. I debugged with a UITextField in a dummy application. One way to reproduce this issue is like this: Launch my keyboard in the hosting app (UIKeyboardDidChangeFrameNotification is received as expected) Toggle keyboard height change (UIKeyboardDidChangeFrameNotification is NOT received sometimes) Return to home. Open the hosting app, where my keyboard has resumed its normal height. (UIKeyboardDidChangeFrameNotification is NOT received sometimes) If anyone has met the same issue, please leave a comment below :). Thanks a lot.
Replies
0
Boosts
0
Views
538
Activity
Sep ’21
Issue: UIKeyboardDidChangeFrameNotification not being sent
Hello, I am a developer for a custom keyboard extension. I want to report an issue about UIKeyboardDidChangeFrameNotification. My keyboard extension has a function that increases the keyboard height when enabled. However, the hosting app do NOT always get the UIKeyboardDidChangeFrameNotification on such changes, causing unpredictable layout problems in the host. Here is my setup: Xcode 13 Beta5, iOS 14.7.1 on iPhone 11 Pro. I debugged with a UITextField in a dummy application. The problem can be reproduced with the following steps: Launch the keyboard in the dummy app. Toggle some function that changes the keyboard height. Here the UIKeyboardDidChangeFrameNotification is NOT received in the host sometimes. Return to home and re-open the host, where the keyboard resumes its normal height. Here the UIKeyboardDidChangeFrameNotification is NOT received in the host sometimes. From my experience, this issue has been around for years and we still get complaints from our users every month. Leave a comment if you had the same issue :)
Replies
0
Boosts
0
Views
663
Activity
Sep ’21
keyboard not showing when connected
my app uses and alert with a textfield - if the lightning connector is not being used the keyboard shows on the screen - if it is connected the keyboard does not appear how do I make the keyboard always appear
Replies
0
Boosts
0
Views
495
Activity
Aug ’21
Keyboard layout move to upper
ipados14.7.1 Why my keyboard move to upper it’s very hard to typing. url or my input all hidden by this keyboard. i want to capture and sent u, please help me. Please advice me. This is not convenience, not user friendly, please
Replies
2
Boosts
0
Views
580
Activity
Aug ’21
bring up memoji only on keyboard
does anyone know if is there any keyboard setting where we can bring up only the memoji portion of the keyboard programmatically?
Replies
0
Boosts
0
Views
790
Activity
Jul ’21