RedMadRobot / input-mask-ios

User input masking library repo.
MIT License
578 stars 96 forks source link

iOS 13 / XCode 11 Text Input Errors - Swipe Keyboard #81

Closed NuVeS closed 4 years ago

NuVeS commented 4 years ago

Prerequisites

Describe the bug

Using the new swipe keyboard causes the application to freeze and crash.

Steps to reproduce the behaviour:

  1. Start typing
  2. Start swipe keyboard on iOS 13

Expected behaviour Work properly, e.g. make an input

Actual behaviour Freeze and crash

Screenshots

Platform information

taflanidi commented 4 years ago

Hey @NuVeS, Thanks for your report.

Please go ahead and try the MaskedTextInputListener class. It has the same capabilities, but it uses newer APIs (unified for both UITextField and UITextView), and thus this utility doesn't have issues with recursive calls. Let me know if it works for you.

Looks like it's finally time to drop the MaskedTextFieldDelegate and MaskedTextViewDelegate support for good.

P.s. Next time you file an issue, please make sure you've checked the prerequisites.

taflanidi commented 4 years ago

Closing this and #82 due to inactivity.