uiscrollviewdelegate Questions

3

Solved

I am setting a new value to targetContentOffset in scrollViewWillEndDragging(_:withVelocity:targetContentOffset:) to create a custom paging solution in a UITableView. It works as expected when sett...
Inspection asked 15/6, 2017 at 9:1

1

Solved

I am using autoScroll on an orthogonal section of the collectionView using compositional layout. I need to invalidate the autoscroll timer as soon as the user manually scrolls the section. I could ...

9

I want to implement UICollectionView that scrolls horizontally and infinitely?
Stephaniestephannie asked 21/12, 2015 at 12:48

10

Solved

Is there a way to detect or get a notification when user changes the page in a paging-enabled UIScrollView?
Shoveler asked 11/3, 2011 at 11:18

5

Solved

Is there a way to know when the animation has end and uiscrollview has come to rest.
Profundity asked 4/2, 2012 at 10:52

5

Solved

I have an onboarding section of my app with 4 pages the users scrolls through horizontally to get an idea of how to use the app (standard). I want the background color to transition as the user scr...
Moncton asked 13/4, 2016 at 5:13

4

I'm trying to get notified when UIScrollView is pinch zoomed out beyond its minimum zoom limit and is about to animate back, but I'm finding it very difficult. Is there a way I can do this with del...
Ralline asked 26/1, 2011 at 20:7

5

Solved

I am using scrollViewDidScroll delegate in my application. But, many times, even though I dint start scrolling, this delegate is getting invoked which is creating a lot of problem. I heard that ev...
Adviser asked 25/7, 2012 at 18:16

7

Solved

I am displaying fairly large images in a UITableView. As the user scrolls, I'd like to the table view to always snap the center-most photo in the middle. That is, when the table is in a resting sta...
Oratorical asked 18/4, 2013 at 16:40

6

Solved

UIScrollView has a delegate property which conforms to UIScrollViewDelegate protocol UIScrollViewDelegate : NSObjectProtocol { //... } class UIScrollView : UIView, NSCoding { unowned(unsafe) var...
Schell asked 8/9, 2014 at 12:50

6

Solved

Is there a way to know if a UIScrollView has reached the top or bottom? Possibly in the method: - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
Espinosa asked 9/10, 2011 at 19:56

2

Solved

The question is very simple, how to enable scroll and zoom inside a UIScrollView in tvOS? I tried the same initializer code from iOS and returned the scrollview for the focusedView var, but nothi...

5

Solved

I have implemented the UIScrollViewDelegate protocol in my .h file and i have implemented the - (void)scrollViewDidEndScrollingAnimation:(UIScrollView *)scrollView method in my .m class. when th...
Acetophenetidin asked 28/12, 2009 at 12:27

2

I'm implementing UIScrollViewDelegate and doing a lot of stuff with it. However, I just found an annoying issue. I expect scrollViewDidEndDecelerating: to be called always after scrollViewWillBegi...
Rasberry asked 30/11, 2011 at 23:32

5

Solved

I'm trying to use the new scrollViewWillEndDragging:withVelocity:targetContentOffset: UIScrollView delegate call in iOS 5 but i can't seem to get it to actually respond to me correctly. I'm changin...
Trevor asked 20/2, 2012 at 19:58

7

Solved

How can I test if the scroll view is bouncing? Is there a notification or something when the bounce ends?
Ashlieashlin asked 18/5, 2010 at 0:44

7

Solved

I know the Apple documentation has the following delegate method: - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView; // called when scroll view grinds to a halt However, it doesn't...
Gauss asked 2/6, 2011 at 17:23

2

Solved

I have a UICollectionView with a custom UICollectionViewFlowLayout. It scrolls horizontally and only shows one item at a time (full height). I have pagingEnabled = YES so that it sticks to pages. ...

2

Solved

I have a table view that performs an animation when the user scrolls down on a UITableView (push thumb up) and a different animation when the user scrolls up (Push thumb down) on a UITableView. T...
Smoothspoken asked 12/8, 2013 at 16:7

2

Similar questions have been asked to this, but my predicament is actually the opposite of theirs. I've got a fullscreen, paging UIScrollView, with each page being the size of the screen. Inside of ...
Marlite asked 30/4, 2013 at 17:27

1

Solved

I am trying to use UIScrollViewDelegate: class ViewController: UIViewController <UIScrollViewDelegate> {} But I have error: Cannot specialize non-generic type 'UIViewController'
Verret asked 4/5, 2015 at 19:25

6

Solved

I've got a a few UIScrollView on a page. You can scroll them independently or lock them together and scroll them as one. The problem occurs when they are locked. I use UIScrollViewDelegate and scr...
Mcclimans asked 23/2, 2012 at 17:45

3

Solved

I have a problem where I have a UIImageView inside a UIScrollView. In Interface Builder, the UIScrollView takes up the entire screen, and the UIImageView takes up the entire UIScrollView. The probl...

1

Solved

I use this method to organize paging: - scrollViewDidEndDecelerating When I scroll my UICollectionView I change some content on my screen. But I have few UICollectionView on my screen and I need...
Drummer asked 22/11, 2013 at 16:1

0

According to Apples documentation (and numerous other places), UIScrollViewDelegate:scrollViewWillEndDragging:withVelocity:targetContentOffset does not get called if UIScrollView.pagingEnabled is s...
Wilmerwilmette asked 1/11, 2013 at 17:38

© 2022 - 2024 — McMap. All rights reserved.