Xcode Live Previews Do Not Accept Keyboard Input

TextFields in Xcode Live Previews do not allow keyboard input. Have I forgotten a simple setting?

Replies

Hi @seanwoodward. It is a known issue that the software keyboard will not appear while previewing in the Xcode canvas. You still should be able to enter text by typing on your Mac's keyboard, however.

  • That's the issue. I am unable to use the Mac's keyboard for input in the Xcode canvas. Typing does not input text.

  • @seanwoodward That is unexpected, I just tested in a simple project and did not observe that behavior. Could you capture a Preview Diagnostics and submit it with the Feedback Assistant and post the feedback ID? If there's a project you can attach that reproduces the behavior that would be great too!

  • Just for reference, you can generate a Preview Diagnostics with the "Diagnostics" option in the Canvas sub-menu of the Editor menu when viewing a preview. Also, just to make sure, you're in Live mode correct?

@seanwoodward did you ever find a fix to this?