There is a similar question to this but answer is very general, vague.( Detecting UITableView scrolling )
Please don’t dismiss. I am looking for concrete solution.
I have UITableView which has editable textfield and PickerView appears when another cell selected.
What I need is to hide firstResponder or PickerView when user starts scrolling this UITableView.
So far in question Detecting UITableView scrolling there’s a sugestion that you should subclass UITableView. IF you subsclass UITableView still internal/private UIScrollView is not accessible.
How do I access UITableView‘s parent ScrollView (without breaking the law)?
Thanks.
You don’t need to subclass
UITableViewto track scrolling. Your UITableViewDelegate can serve asUIScrollViewDelegateas well. So in your delegate class you can implement-scrollViewWillBeginDragging:or whateverUIScrollViewDelegatemethod you need in your situation. (as actually suggested in the question you mention)