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
1 answer

UIScrollView not showing iOS7

I'm try to add a scrollview totally by code to a modal view, but it doesn't show. I've tried different ways but I can't see the mistake, Somebody could help me? here my code: @interface AddWithScrollOrizontal (){ …
Totka
  • 627
  • 6
  • 24
0
votes
1 answer

UIScrollView, sliding, zooming

I have an app which has a uiscrollview, which in turn has two uiimageviews. The scrollview works fine in sliding between both imageviews, by making the content size twice the width. like so [self.scrollView…
Huang
  • 1,355
  • 2
  • 11
  • 28
0
votes
1 answer

Can we display the second section first???

Statically I have mentioned the number of sections for the UICollectionView as 3 as shown in the below: -(NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{ return 3; } Now I am trying to display the…
UserDeviOS
  • 89
  • 1
  • 2
  • 10
0
votes
0 answers

EXC_BAD_ACCESS with ARC.

I am not certain how to debug this error. I know that is happening somewhere in my UIScrollView when I add new data to an array using the function arrayByAddingObjectsFromArray and try to then populate that data to the scrollview. So it goes like…
jimbob
  • 3,288
  • 11
  • 45
  • 70
0
votes
1 answer

How to reimplement UIScrollView paging using UIScrollViewDelegate methods

For some reason, the pagingEnabled of UIScrollView does not fit my demand, I need to set the contentOffset manually. So first I need to reimplement paging, and then try to find out how to customize it. Is it possible to reimplement UIScrollview…
ultragtx
  • 957
  • 8
  • 24
0
votes
1 answer

Zoom only a selected subview from the UIScrollView

I am adding many UIImageView's to UIScrollView,with paging enabled.I need to zoom only the image that i have tapped to zoom,rather than zooming the entire scrollview.Also zooming a particular image doesnot scale other subviews. -…
Nassif
  • 1,113
  • 2
  • 14
  • 34
0
votes
2 answers

UIScrollView events for scrolling that definitely occurred

I am working with aUIScrollview, and based on if the user scrolls left or right, I reconfigure the UI. The problem is that I need to verify that the user definitely crossed from one screen to another (something along contentOffset). I've tried using…
0
votes
2 answers

Stop UIScrollView scrolling during touch

Is there a way to stop a UIScrollView from scrolling while a touch is still held down? Setting the content offset using the scrollViewDidScroll: delegate method is excessive and can cause some issues (view moves and resets quickly) with the GPU, so…
RileyE
  • 10,874
  • 13
  • 63
  • 106
0
votes
1 answer

UIScrollView strategies for horizontal and vertical scrolling

Situation: I have a toolbar of sorts (not a UIToolbar, just a custom UIView) that sits at the top of my view. This toolbar has a number of buttons. Immediately below it, I have a scrollview with a form. When a button on the toolbar is tapped, the…
Mason
  • 6,893
  • 15
  • 71
  • 115
0
votes
1 answer

UIScrollview overlapping mainview content

Currently, I have this feature in my app where I implemented a UIScrollview that is pretty thin in height but long in width... As you can see, the UIScrollView is OVERLAPPING the backgroundview... Not that white background is a UIView to which I…
0
votes
1 answer

Building a Camera Application... UIScrollView will not zoom

I'm building a camera application, and I can't get the zooming on the image to work. I honestly don't know where to go from here, I'm sure it's some dumb mistake that I'm missing though. The app sets the chosenImageView to the workingImage (picture…
Rob
  • 1,045
  • 13
  • 28
0
votes
0 answers

Update Height of UIImageview on scrolling UITableView

I've got an UIImageView and in the same view I've got an UITableView. I need to get the scroll y movement and the movement should update the height of UIImageView. So if I scroll up the UITableView, the UIImage should reduce the height, if I scroll…
Bellots
  • 1,703
  • 3
  • 19
  • 29
0
votes
2 answers

Scrollable region of UIScrollview bigger than scrollview itself

I want the following. I have a navigation bar at the bottom of my app. Above I have a scrollview where the user can scroll to. Look at the image below. Inside my scrollview I've added an image. This is what I do in code. [scrollView…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
1 answer

Scrolling the scrollview from a specific point

I have a button in my application which is supposed to scroll the scrollview from bottom to top (like "dragging" the scrollview from the bottom of the screen. The problem is that everything is inside this scrollview (2 view controllers are subviews…
0
votes
2 answers

Issue with a scrolling fading UIView and its subviews. How should I be doing it?

I have a UIView with many subviews on a UIScrollView. As the UIScrollView slides to the left off the screen the alpha value of the UIView is reduced. It eventually is almost 0.0. The issue is that once the alpha of the UIView is less than 1.0 I…
darbid
  • 2,545
  • 23
  • 55