Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

HARDWARRIOR

macrumors member
Original poster
Nov 17, 2008
52
0
Hi!
I implemented UITextViewDelegate protocol's methods textViewShouldBeginEditing & textViewShouldEndEditing in one of viewControllers. There is only one UITextView that has this viewController as delegate.
But very strange things happen when editing begins or ends. Each of those methods called TWICE! On editing begins textViewShouldBeginEditing is called twice. Each time with the same callstack! Same for
textViewShouldEndEditing.
Well... of course I can handle twice calls, but is it right? Is it normal behaviour? Have expirienced such a twice calls?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.