Hi
I'm having a minor problem with my paging UIScrollView. It works correctly, but there is some odd behaviour. Basically, the scrollView contains 7 UIImages with gestureRecognizers. Now, the selectors all fire when I tap the Images, but the scrollView also resets itself so it's back on the first page any time I tap anywhere. I am making the scrollView programatically. Here is how I'm doing that:
Any help would be awesome.
I'm having a minor problem with my paging UIScrollView. It works correctly, but there is some odd behaviour. Basically, the scrollView contains 7 UIImages with gestureRecognizers. Now, the selectors all fire when I tap the Images, but the scrollView also resets itself so it's back on the first page any time I tap anywhere. I am making the scrollView programatically. Here is how I'm doing that:
Code:
scrollView = [[UIScrollView alloc] init];
scrollView.frame = CGRectMake(0,0,316,50);
scrollView.contentSize = CGSizeMake(460, 50);
scrollView.pagingEnabled = YES;