UIScrollView does not remember the position

Has anyone had a problem that UIScrollViewwhich moves with help [UIScrollView setContentOffset:...]doesn't β€œremember” her new position? However, if the user scrolls using touch-and-drag.

Symptoms: If it UIScrollViewdoes not remember a new position, it β€œflips” back to its original position, which it remembers last (this is the position that was used with the touch and -drag) with each touch.

Interesting:

  • This only happens in 4.0 and did not happen in 3.1
  • This only happens if the pagingEnabled == YES set
+3
source share
1 answer

It turned out that it contentInsetswould be confusing contentOffsetsin iOS 4.0 ... should there be an error in the SDK?

+1
source

All Articles