Problem: scrolling a tableview and then select the searchbar (iphone)
- by Samui
Hello everyone, I've been stuck with this problem for hours and I can't see the light. Please give me a hand with this:
I have a tableview and a searchbar. The searchbar is situated in the navigationbar. When I do a fast scroll of the tableview, if I select the searchbar while the tableview is still decelerating, a exception raises:
Terminating app due to uncaught
exception 'NSRangeException', reason:
' -[NSMutableArray objectAtIndex:]:
index 31 beyond bounds for empty
array'
How can I stop programmatically the deceleration of the tableview?
Thanks for your time!