iphone - inside API scrollViewDidScroll , shows sender correct but sender.contentSize is showing null while calculating page number -
I want to see the page number in the scroll view, which contains the uiimage view.
Within the method, code> - (zero) scrollwididcroll: (UIScrollView *) sender
The sender value on this logging looks correct, that is, about the scroller Everything is fine,
But when I use thanks. If defaultSize is zero then default value .. .. See the following details from Apple documentation. sender.contentOffSet.x then it appears zero
- (zero) scrollViewDidEndDecelerating: (UIScrollView *) ScrollView
contentOffset At that point where the origin of the content footage is offset by the origin of the scroll view, the discussion is default CGPointZero.
contentSize content size of size
discussion is the unit number of the size Default size CGSizeZero is the related sample code quartzodo
Comments
Post a Comment