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
0
votes
0 answers

Scrollview Content not updating

AM facing trouble in showing Images on the ImageView, added on UIScrollview, after rotation I am having few UIImageViews(8 diferent) on my UIScrollView. The Problem, is when I rotate my Device, I have changed the frame(x,y axis only) of…
Jasmeet
  • 1,522
  • 2
  • 22
  • 41
0
votes
0 answers

Content of UIscrollview not updating, when changing orientation

Here's my problem. Am Using a scrollview whose Frames I am changing when rotating the device. I have 8 AsyncImageView on that scrollview. And the Images on AsyncImageView's are set by calling web services. Project runs fine. Images on the…
Jasmeet
  • 1,522
  • 2
  • 22
  • 41
0
votes
1 answer

Parallax UIScrollView – handling two views in one scrollViewDidScroll method?

I’m creating a basic parallax effect much like the iOS7 app switcher, using two UIScrollView instances (cardScrollView and tileScrollView). I scroll one alongside the other, at a different rate, like so: if ([scrollView isEqual:self.tileScrollView])…
Luke
  • 9,512
  • 15
  • 82
  • 146
0
votes
1 answer

How to scroll to a particular content offset directly(without showing other contents )

I am using [scrollView_Mag setContentOffset:CGPointMake(320 * currentImageView, 0) animated:No]; so that I can scroll to a particular View(as required). In code "currentImageView" is the number of the view, I want to scroll.It is working perfectly.…
Jasmeet
  • 1,522
  • 2
  • 22
  • 41
0
votes
0 answers

not able to Implement Scrollview(scrolling and zooming) for Gallery View

Am using scrollView to implement Gallery like View. But i am stuck. I have dynamic, say 10 pics to be shown in the horizontal scroller, once at a time. am using following code - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView { …
Jasmeet
  • 1,522
  • 2
  • 22
  • 41
0
votes
2 answers

UIScrollView bounce end event

Maybe I made a wrong description for what I want and hence haven't hit any answer, if that's the case please kindly provide a link with solution. what I want is: I have scrollview, alwaysBounceVertical is set to true. So when the user drags down…
boreas
  • 1,041
  • 1
  • 15
  • 30
0
votes
1 answer

Capture scrolling of child view controller

I have a UIViewController - WSProfileViewController. This VC has a headerView, and then a containerView that loads one of three tableViewController as a childViewController of WSProfileViewController. I want to be able to scroll the headerView up…
OdieO
  • 6,836
  • 7
  • 56
  • 88
0
votes
2 answers

Set zoom for UIScrollView subclass

I am trying to subclass UIScrollView as "ImageScrollView". My class is pretty simple. It has an imageView as one of it's subviews that I want the class to zoom to. ImageScrollView.h #import @interface ImageScrollView :…
denvdancsk
  • 3,033
  • 2
  • 26
  • 41
0
votes
2 answers

UIScrollView for infinite slideshow

I am having a set of images.How can i use them to set an infinite slide show.The images should continue as a loop.I want to use only horizontal scroll in both directions.
slaveCoder
  • 519
  • 2
  • 17
  • 46
0
votes
3 answers

passing the data from uiscrollview with pagecontroller to another viewcontroller

I have a scrollview of images, I will like to tab them and will pushed to another view. once i tab on the image, the whole view should push to another view. this my ScrollView.h as the following @interface PeekPagedScrollViewController :…
0
votes
1 answer

Weird behavior when subclassing UIScrollView

I have a scroll view that has a variable number of UIImageView subviews. I subclassed UIScrollView because I want to be able to move and resize the images with gestures, and do some other custom behavior. As soon as I switch the scroll view to my…
Reid
  • 1,109
  • 1
  • 12
  • 27
0
votes
3 answers

Getting the visible label text from UIScrollView

I have added 10 labels to to display 0 to 9 in UIScrollView, User can see only one label in UIScrollView visible part. User needs to scroll to see other labels. How to determine which label is currently visible in UIScrollView after scroll view…
Prasad
  • 1,904
  • 4
  • 19
  • 24
0
votes
3 answers

How to load more data in UITableView after scrolling

I have Thrift server, I can get information and load them in my UITableView, at the first I load 10 rows, and after scrolling to the end each time I want to load 10 more rows(with information) but it's never work for me, would you please help me in…
0
votes
1 answer

App crashes when UIScrollView touched

I have a RootViewController which creates a SecondViewController. Inside the SecondViewController in viewDidAppear, I create a UIScrollView and a UIPageControl and add them to the view. I also do this: scrollview.delegate = self. The…
tentmaking
  • 2,076
  • 4
  • 30
  • 53
0
votes
1 answer

Objective c: How to get final scroll Position of UITextView on Touch up?

I have an application, where two iPads are connected via Bluetooth LE. One iPad is the sender and the other one is the receiver (user input disabled). My goal is, if the sender is scrolling in a 'UITextView', I want to send a command to the…
longi
  • 11,104
  • 10
  • 55
  • 89