Keyboard doesn't appear.

I created a textField ( type UITextField obviously) and placed it in a view of my Playground.

While testing it in Xcode on the mac the Keyboard did not appear even after tapping the textField.

I also called the becomeFirstResponder() method before adding as a subview to its super view.

I can enter text using the keyboard on my mac and everything is working normally, but how will people do it on their iPads.

Will it automatically appear when running it on the iPad? Do I need to do something else to make the keboard appear.

Thanks for the help

Replies

The keyboard isn't supposed to pop up on Macs by default because you already have a keyboard built on your Mac. It will show up on the iPad.

i have use uitextfield, and when i try it on mac, it just show a little bit of the keyboard!!! so what happened???

This is the QuickType suggestion bar, which would appear if you had a physical keyboard connected to the device. If you absolutely must, in the standalone simulator, you can use Command+K to toggle the keyboard, but I'm not quite sure if it works in the playground simulator.

  • ‎‎

  • I have a physical keyboard connected to my 2018 iPad running iPadOS 15, with Playgrounds 3.4.1. However, I do not get any QuickType suggestions despite having the floating predictive bar enabled during normal use.

Add a Comment