Your guide to keyboard layout

RSS for tag

Discuss the WWDC21 session Your guide to keyboard layout.

View Session

Posts under wwdc21-10259 tag

17 Posts
Sort by:
Post not yet marked as solved
2 Replies
355 Views
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
Posted
by
Post not yet marked as solved
0 Replies
330 Views
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
Posted
by
Post not yet marked as solved
0 Replies
343 Views
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 :)
Posted
by
Post not yet marked as solved
0 Replies
296 Views
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.
Posted
by
Post not yet marked as solved
0 Replies
303 Views
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 :)
Posted
by
Post not yet marked as solved
0 Replies
322 Views
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
Posted
by
Post not yet marked as solved
0 Replies
296 Views
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
Post not yet marked as solved
0 Replies
313 Views
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?
Posted
by
Post not yet marked as solved
0 Replies
174 Views
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
Posted
by
Post not yet marked as solved
0 Replies
215 Views
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?
Posted
by
Post not yet marked as solved
1 Replies
228 Views
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
Posted
by
Post not yet marked as solved
0 Replies
265 Views
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.
Posted
by
Post not yet marked as solved
0 Replies
166 Views
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.
Post not yet marked as solved
0 Replies
261 Views
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
Posted
by