scrollViewWillEndDragging:withVelocity:targetContentOffset: not working on the edges of a UISCrollView
问题 I'm trying to implement a custom tab bar which is scrollable and has paging at each tab bar item. For that i'm using the delegate scrollViewWillEndDragging:withVelocity:targetContentOffset: which works perfectly with one problem. The way my paging works is, if the contentOffset is near the right item, it the targetContentOffset changes to the offset of that item. Same thing for the left side. The problem is, whenever I'm at at the left half of the first item and the right of the last (the