Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Keyboard Tip for the iOS Simulator

DZone's Guide to

Keyboard Tip for the iOS Simulator

I wanted the virtual keyboard to show up. In order to actually get that keyboard, you need to disable “Connect Hardware Keyboard” in the Hardware menu.

· Mobile Zone
Free Resource

Discover how to focus on operators for Reactive Programming and how they are essential to react to data in your application.  Brought to you in partnership with Wakanda

I’ve been using the iOS Simulator for a few years now and never noticed this trick before. Thanks go to Tommy-Carlos Williams for teaching me this. Have you ever noticed that sometimes when you type in a form field inside the simulator that the virtual keyboard doesn’t slide up? For example:

iOS Simulator Screen Shot Jun 24, 2015, 2.53.18 PM

Notice the cursor in the field? I can type there, but the virtual keyboard isn’t up. It just so happened I wanted the virtual keyboard to show up. I was testing a bug in an app where users hitting the Go button were ending up opening an action that was tied to another button. In order to actually get that keyboard, you need disable “Connect Hardware Keyboard” in the Hardware menu:

Screen_Shot_2015-06-24_at_2_55_27_PM

Doing so gets you the virtual keyboard – and obviously requires you to use it:

iOS Simulator Screen Shot Jun 24, 2015, 2.56.51 PM

I’ll add that I’ve seen some gremlins with this. Just a few minutes ago I was testing with a web page search form and it consistently let me type with the keyboard and showed a virtual keyboard, but now I can’t reproduce it so… yeah… gremlins. Any way, hope this tip helps.

Learn how divergent branches can appear in your repository and how to better understand why they are called “branches".  Brought to you in partnership with Wakanda

Topics:
mobile ,ios

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}