Top "Uiscrollview" questions

Use this tag for all questions about scroll views on iOS.

UIScrollView not scrolling to bottom in iOS 7

In this following code example self.contentView refers to the UIScrollView in question. // Scroll to bottom. CGPoint bottomOffset = CGPointMake(0, self.…

ios iphone objective-c uiscrollview contentoffset
UIScrollView with sticky footer UIView and dynamic height content

Challenge time! Imagine we have 2 content views: UIView with dynamically height content (expandable UITextView) = RED UIView as a footer = BLUE …

ios uiview uiscrollview autolayout sticky-footer
My Swift 4 UIScrollView with autolayout constraints is not scrolling

I have created a small demo playground to get this working before adding the view to my app. I have …

ios swift uiscrollview swift-playground programmatically-created
Prevent touch events on subviews of scrolling UIScrollView in iOS7

I have a UIControl inside a UIScrollView. In my UIControl's init, I rig up some touch event handlers, e.g. […

ios uiscrollview ios7 uicontrol
Show/hide UIToolbar, "match finger movement", precisely as in for example iOS7 Safari

Note: check out Thuy's great subclass of UINavBar here: https://stackoverflow.com/a/20720359/294884 If you're working on this problem, GTScrollNavigationBar …

ios7 uiscrollview uigesturerecognizer uitoolbar
How do I properly observe the contentOffset property of my scrollView subclass?

In my iOS app I am observing changes to the contentOffset property of my scrollView subclass. My observer handler looks …

ios uiscrollview key-value-observing cgpoint
Run Loop In Background

So, I am needing to run an infinite loop in the background of my app (written in JS) that will …

javascript loops background uiscrollview titanium
Limit bouncing for UIScrollview in iOS

I need to limit the bouncing in a UIScrollView so that it bounces as usual at the bottom but doesn't …

ios uiscrollview bounce
scrollViewDidScroll delegate is invoking automatically

I am using scrollViewDidScroll delegate in my application. But, many times, even though I dint start scrolling, this delegate is …

iphone ios xcode uiscrollview uiscrollviewdelegate
How we can get visible Cell IndexPath when a UICollectionView Loads its data initially

Is there any way that we can get indexPathsForVisibleItems when a UICollectionView loads its data initially . Basically I want all …

ios objective-c uiscrollview uicollectionview nsindexpath