Questions tagged [uiscrollviewdelegate]

The methods declared by the UIScrollViewDelegate protocol allow the adopting delegate to respond to messages from the UIScrollView class and thus respond to, and in some affect, operations such as scrolling, zooming, deceleration of scrolled content, and scrolling animations.

The methods declared by the UIScrollViewDelegate protocol allow the adopting delegate to respond to messages from the UIScrollView class and thus respond to, and in some affect, operations such as scrolling, zooming, deceleration of scrolled content, and scrolling animations. On UIScrollViewDelegate, you can find the following methods:

Responding to Scrolling and Dragging:

– scrollViewDidScroll:

– scrollViewWillBeginDragging:

– scrollViewWillEndDragging:withVelocity:targetContentOffset:

– scrollViewDidEndDragging:willDecelerate:

– scrollViewShouldScrollToTop:

– scrollViewDidScrollToTop:

– scrollViewWillBeginDecelerating:

– scrollViewDidEndDecelerating:

Managing Zooming:

– viewForZoomingInScrollView:

– scrollViewWillBeginZooming:withView:

– scrollViewDidEndZooming:withView:atScale:

– scrollViewDidZoom:

Responding to Scrolling Animations:

– scrollViewDidEndScrollingAnimation:
398 questions
-1
votes
1 answer

UIScrollView return first image

I have a UIScrollView which I display 5 images within it. After the 5th image I want to go back to the first image. I have checked the apple docs methods and I believe using - (BOOL)scrollViewShouldScrollToTop:(UIScrollView *)scrollView might be a…
DrPatience
  • 1,736
  • 2
  • 15
  • 33
-1
votes
1 answer

How to set up a scroll view delegate?

I'm working with nibs and I added a scroll view to the view controller and now I want to get the view controller to be the delegate for the scroll view so i can use the methods I gel, like scrollViewDidScroll. I already added the…
JohnBigs
  • 2,691
  • 3
  • 31
  • 61
-1
votes
1 answer

Two UIScrollView one does not show content

I Have 2 UIScrollView: - (void)generateHeadView { self.headArray = [[NSArray alloc]initWithArray:self.headButtonArray]; for (int i = 0; i < [self.headArray count]; i++) { UIButton *button0 = [[UIButton alloc]init]; button0…
pbeo
  • 399
  • 1
  • 4
  • 14
-1
votes
1 answer

Make UIScrollView act like UIPageControl

In my latest project, I am trying to create a UIScrollView with multiple sections that can be horizontally scrolled between. I want to make it so that after the user scrolls, the UIScrollView locks onto one section of the UIScrollView. I have 3…
erdekhayser
  • 6,537
  • 2
  • 37
  • 69
-1
votes
1 answer

IOS Issues Telling When Scroll View has Finished

I found a post on here that briefly described how to tell if a UIScrollView has finished scrolling How to know exactly when a UIScrollView's scrolling has stopped?. It uses the scrollViewDidEndDragging function and as specified in the UIScrollView…
ScottOBot
  • 839
  • 3
  • 16
  • 37
-1
votes
1 answer

Delegates and methods not working as expected

I've been trying to fix a problem with an app I'm working on. After searching and browsing questions here I think there's a problem with delegates and some methods. The code is for implementing a "Pull down to refresh" with UIView embedded inside…
Roger Fernandez Guri
  • 970
  • 2
  • 10
  • 18
-2
votes
2 answers

Scroll view can't perform delegate but table view can

I have a scroll view to show image and set inside tableview cell. Scroll view can’t perform scroll view delegate but table view can perform the scroll view delegate. So, how can I perform delegate only scroll view?
-3
votes
1 answer

How can i get how to scrolled it is in uicollectionView

I’m using uicollectionview in storyboard. When uicollectionview scroll down i want get how scrolled down In pixels For example, if i swipe one finger, return 200 pixels. Is it possible?
1 2 3
26
27