The point at which the origin of the content view is offset from the origin of the scroll view.
Questions tagged [contentoffset]
140 questions
0
votes
1 answer
contentoffset in scrollview
How can i set the contentoffset for image to track down which image user is on and selected to save it to phot album.
UIScrollView *imageScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width,…

user1452248
- 767
- 2
- 11
- 28
0
votes
1 answer
Tracking UIScrollview contentoffset - iOS
I have a scrollview with frame smaller than the contentsize. The scrollview is paging enabled. This is similar to the safari new tab page in iOS Safari app. My question is "I have 4 images A,B,C and D. If B is inside the frame is it possible for me…

DesperateLearner
- 1,115
- 3
- 19
- 45
0
votes
2 answers
Navigation- & Toolbar not hidden when UIScrollView scrolls
- (void)scrollViewDidScroll:(UIScrollView *)scrollView {
lastOffset = scrollView.contentOffset;
if (scrollView.contentOffset.y < lastOffset.y) {
[self.navigationController setNavigationBarHidden:YES animated:YES];
…

filou
- 1,609
- 5
- 26
- 53
-1
votes
1 answer
How to use the scroll view content offset property?
I have the following code:
if scrollView.contentOffset.x == 10 {
print("works")
}
Although when I scroll to the left or right nothing get's printed to the console. I know this is really basic although I'm just trying to…

coder123
- 247
- 3
- 17
-2
votes
1 answer
hmsegmentedcontrol - When I scroll, the tab highlighter always changes to 0. why?
In HMSegmentControl, I have added tableview in one of the segment View. When I am on the current section and I scroll up or down, I noticed that the tab highlighter always changes to 0. Why is it happening?
This is my scrollView…

Balasubramanian
- 5,274
- 6
- 33
- 62