I have UIScrollViewwith 2 pages in my application, and each page has UITableViewwith several lines in it. The problem is that the touches are really weird. If I want to go to the second page while I am on the first, I just scroll left to the right to go to another page, but UITableViewdiscovers that the napkins are like vertical napkins and βtakeβ touch. I have to try 3-4 times to successfully go to another page. This is very annoying, and I was wondering if anyone has a way to make the strokes better.
UIScrollView
UITableView
Thanks in advance.:)
If you want to block scrolling:
scrollView.scrollEnabled = NO;
customezed scroller bar ... ...... , ur , : ... thnk ... , u , .. , bcoz ....
directionalLockEnabled scrollBar.
self.scrollBar.directionalLockEnabled = YES;
frame.height tableview.frame.height.
tableView.
self.tableView.directionalLockEnabled = YES;
When you move the page, just do it (UITableView)tblView.userInteractionEnabled = NO, so it triggers a touch event UIScrollView.
(UITableView)tblView.userInteractionEnabled = NO
Itβs enough to scroll correctly
scrollViewContainer.delaysContentTouches = NO;
An additional way to block scrolling.
1)
2)
3)
Like it ....... I hope it will be useful for you.