_hideForKeyboardAppearance error when clicking on UITextView

I have a UITextView, and whenever I click on it, the app crashes with the following error:


-[__NSSetM _hideForKeyboardAppearance]: unrecognized selector sent to instance 0x7fb8aa76cd60


If I run the app multiple times, it always crashes at the same place, but the intercepting object that is throwing the "unrecoginzed selector" can be different. Sometimes it is UIImage instead of NSSetM, sometimes, it is a UIConstraint, etc


Even if I don't assign the UITextView to a specific outlet in my class, or have it assigned to a delegate, I get the same behavior. This happens on both simulator and hardware.


Any ideas what is going on?

_hideForKeyboardAppearance error when clicking on UITextView
 
 
Q