Crash with UIAlertController
Amzd opened this issue · 2 comments
Amzd commented
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_UIAlertControllerTextFieldViewController resignFirstResponder_ResponderChain]: unrecognized selector sent to instance 0x_____'
The swizzled method crashes when calling the original only in UIAlertControllerTextFieldViewController.
Amzd commented
I think this could fix it
https://stackoverflow.com/questions/39003876/calling-original-function-from-swizzled-function
Amzd commented
Resolved