Keyboard gets stuck in ios 13 simulator

IosSwiftXcode11

Ios Problem Overview


I have been trying to make my project work with the new Xcode 11. Everything works smoothly, except on several occasions when I run my app on the simulator (iPhone 11 Pro Max), the app freezes after I click on EditTexts. This happens after a few times I have used the app. If I clear the simulator memory and restart everything works normally.

I created a view controller with just the EditText and am able to replicate the simulator freezing. Sometimes it freezes before launching the soft keypad, sometimes after it has been displayed. I am still able to kill the app and rerun it through Xcode but it freezes every time unless I do hardware reset on simulator.

I am just concerned if this would happen on the device too? Has anyone faced this?

Edit: Just to add. When this happens, I try to use the messaging app and the same thing happens there.

Ios Solutions


Solution 1 - Ios

Same problem on Xcode 11.0 and simulator with iOS 13/iPhone 11.

For me, the workaround of disable "automatically paste" don't work.

The only way is to restart simulator.

This thread is open on Apple Forum [https://forums.developer.apple.com/thread/122972]

Solution 2 - Ios

The only fortunate solutions is to restart the simulator.

Solution 3 - Ios

I had the same problem. Apparently it's a bug on the Simulator. Hopefully it will be solved soon, but until then, you can fix by unchecking the pasteboard option.

> Simulator -> Edit -> Automatically Sync Pasteboard.

From this helpful answer here.

Solution 4 - Ios

This is happening to me as well. This is a bug with the current release of Simulator.

Solution 5 - Ios

When i click on textfield, app freeze and stop working. This problem still exists on Xcode 11.1 The solution is:

"Hardware -> Restart"

Then running normally. Try this.

Solution 6 - Ios

Force quit the simulator and restart again works for me.

Solution 7 - Ios

Same happens even in built-in apps on iOS 13 Simulator in the moment when you about to start typing :facepalm: Initially I thought that happened because I included new framework and had no clues what's going on but then found this :)

Solution 8 - Ios

Please do not change your code it's not your code issue, its simulator bug.... So try to restart the simulator or stop the application and run again.

It will work fine on your device.

Solution 9 - Ios

On Mac Catalina with Xcode 11.4 I tried this:

From simulator, toolbar choose I/O then Keyboard then Toggle Software Keyboard

Or

Simply hit Command + K while cursor placed in text Field.

Solution 10 - Ios

Also have the same problem. When I restarted the simulator after it got stuck it haven't happened again. Seems like it is a simulator bug and not an app issue - https://forums.developer.apple.com/thread/122972

Solution 11 - Ios

Its happening when pickerView appears as well, unfortunately have to restart simultor again.

Solution 12 - Ios

enter image description here

If your are working on the iOS Simulator than simpley Restart your simulator & * Kill the Metro * and run the react-native run-ios again.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPanksView Question on Stackoverflow
Solution 1 - IosdiegodspView Answer on Stackoverflow
Solution 2 - IosYashView Answer on Stackoverflow
Solution 3 - IosMarina AguilarView Answer on Stackoverflow
Solution 4 - IosClay JonesView Answer on Stackoverflow
Solution 5 - IosMuhammad AhmadView Answer on Stackoverflow
Solution 6 - IosguruView Answer on Stackoverflow
Solution 7 - IosVladimir TolstikovView Answer on Stackoverflow
Solution 8 - IosSarabjit SinghView Answer on Stackoverflow
Solution 9 - IosMohamed HanaView Answer on Stackoverflow
Solution 10 - IosTørk EgebergView Answer on Stackoverflow
Solution 11 - IosMudassir AsgharView Answer on Stackoverflow
Solution 12 - IosRavi Kant BagoriaView Answer on Stackoverflow