Sudden closure of the app, if it is with xcode does not close. It happens when changing the type of keyboard from iphone

0

I have developed an app for IOS with swift , until here everything is correct, I made debug tests with xcode and no problem. But a user of the app has contacted me because when he goes to a screen that is a form, and clicks on a text field , he closes the app .

Connect your cell phone to xcode , I reinstalled the app and with the cell phone connected to xcode I did not have any problem, but when I disconnected the same thing happened again.

The console did not give me any errors. I tried to set Crashlytics ( but I did not get it ) to see if I could detect the error.

I would put the code for the app, but I'm so lost that I do not know what it may be because I've done all the tests in a Iphone 5s and everything is correct, the user in particular is a Iphone 6 Plus

EDITED

I have found the fault. It happens when you switch to the emoticon keyboard. I solved it like this:

campo.keyboardType = .asciiCapable

How can I do to accept this keyboard?

    
asked by Alberto Mier 29.03.2018 в 13:52
source

1 answer

0

And do you need the emoticons in the form? Have you already changed the configuration from the xcode in the attributes of the field?

ContentType for example

    
answered by 24.04.2018 в 00:25