UIViewScrollviw UITableView subview scrolling. IOS
- by user1484810
I have a UIScrollview with a UITableview subview.
The UIScrollview scrolls the UITableView horizontally.
The UITable view naturally scrolls up and down.
If a user places their finger on the UitableView, and moves (swipes) horizontally,
The delegate method below is invoked
(void)scrollViewDidScroll:(UIScrollView *)scrollView
with scrollView isEqual theUIScrollView
If the user lifts their finger and places it back down on the UITableView
and moves in a vertical direction
The delegate method below is invoked
(void)scrollViewDidScroll:(UIScrollView *)scrollView
with scrollView isEqual = theUITable
If however the user places their finger and moves in a horizontally
(void)scrollViewDidScroll:(UIScrollView *)scrollView
with scrollView isEqual theUIScrollView
If the user then moves the finger (without lifting it) in a vertical direction.
delegate method scrollViewDidScroll is not invoked at all. (The reverse is true too.)
I note that the "Pulse News" app seems to behave in the above manner..
Ultimately I want to figure out how to get the UITableView and UIScrollview moving in a "unidirectional" fashion, with one finger kept on the screen.
Thanks...