I have a UITextView that starts off with editable == NO. In my code, I programatically set editable = YES. (let's say a button press triggers it)
When that happens, the keyboard pops up for some reason, why is that? I tried:
UITextView.editable = YES;
[UITextView resignFirstResponder];
but it has no affect in getting rid of the keyboard. I even NSLogged my textviewDidBegin/ShouldBegin Editing, but it appears the code doesn't even go there.
My delegates respond fine though if the UITextview starts off as editable and I don't mess with that attribute.
When that happens, the keyboard pops up for some reason, why is that? I tried:
UITextView.editable = YES;
[UITextView resignFirstResponder];
but it has no affect in getting rid of the keyboard. I even NSLogged my textviewDidBegin/ShouldBegin Editing, but it appears the code doesn't even go there.
My delegates respond fine though if the UITextview starts off as editable and I don't mess with that attribute.