Questions tagged [uiscrollview]

Use this tag for all questions about scroll views on iOS. Do NOT use this tag for other platforms.

UIScrollView is the native scroll view system in iOS. It is part of Cocoa and UIKit. A number of other very common iOS classes, such as UITableView, are based on UIScrollView. UIScrollViewDelegate is the associated delegate.

Full Apple documentation for UIScrollView is at the usual Apple documentation site. It is on the internet. It can be found at https://developer.apple.com/reference/uikit/uiscrollview.

Use this tag only for the specific, iOS, UIScrollView class. For the native scroll views in other specific platforms, such as Android, use those tags.

If you genuinely have a rare, non-platform-specific, general conceptual question about scroll views, you could use the otherwise totally worthless tag.

12500 questions
4
votes
1 answer

UIScrollView not respecting minimumZoomScale after changing the subview

I'm hitting a problem getting a UIScrollView to update correctly in response to a change in the minimum zoom scale. The scrollview has a UIImageView as a subview, and the image property of the UIImageView is set in response to the…
TimD
  • 8,014
  • 2
  • 24
  • 34
4
votes
3 answers

How do you make an empty UITextView scrollable like Notes on iOS?

In iOS how do you make a UITextView scrollable and responsive to touch when there's little or no content? In my app, once text fills up the textview, scrollbars appears and I can scroll around. Less than that though, and since all the content is…
Malcolm Bastien
  • 115
  • 1
  • 6
4
votes
2 answers

iOS Nested View Hierarchy to support drag drop functionality to allow end-user to configure forms

I'm building a native iOS app that will allow end users to build forms by dragging and dropping from a toolbox of custom controls. A typical scenario would be a power-user dragging some UILabels and UITextField representations around on a UIView. …
Journeyman
  • 10,011
  • 16
  • 81
  • 129
4
votes
3 answers

ios alpha mask on a scrollview

I know you can mask an image in ios, but can you mask a scrollview? I'm wanting to alpha mask my scrollview so that the content on the ends appears to fade out before it gets clipped by the scrollview. Is something like this possible? FYI I have…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
4
votes
2 answers

UIScrollView as a subview does not scroll

When I set my UIScrollView to be the main view within Interface Builder, the scrolling works as expected. However, when I add the UIScrollView as a subview of UIView the scroll does not work. So it seems my trouble begins when the UIScrollView is…
Nathan Clark
  • 657
  • 6
  • 13
4
votes
4 answers

Remove the content in a UIScrollView Programmatically?

How do you remove the content in a UIScrollView Programmatically? As I have to update the content in it frequently.
Popeye
  • 11,839
  • 9
  • 58
  • 91
3
votes
0 answers

UIScrollView doesn't zoom UIView after applying affine transformation to the latter

I'm struggling with this issues since two days now and I couldn't find a solution yet. My setup is pretty basic: I've got a UIScrollView, a UIView inside it, return the latter at viewForZoomingInScrollView and there's really nothing more than that.…
mdonati
  • 1,049
  • 11
  • 24
3
votes
1 answer

iOS how to find the screen position of the side scroll bar in a tableView

Is there a way to find the x and y position of the side scroll bar and track it as it moves?
KevinM
  • 1,799
  • 4
  • 28
  • 58
3
votes
2 answers

Get a UITableView to not scroll and grow within a UIScrollView

I need to create a screen that is similar to the one below. The only way I can come up with is to have a UIScrollView be the parent view. Then have a UIImageView and UILabels for the thumbnail and main text ("All3Sports"). For the sections like…
Rob
  • 5,578
  • 3
  • 23
  • 28
3
votes
1 answer

Horizontal Scrollview to Swipe through coredata objects

I have an iOS app built on CoreData with tableviews and detailviews of the objects. When in the detailview I would like to swipe horizontally to get the detail view of the next object. I found PageControl and scrollview. But this is going to be for…
Michael Robinson
  • 1,439
  • 2
  • 16
  • 23
3
votes
1 answer

how to do swipe/scroll gesture automatically with Frank Cucumber?

I was using BDD technique on my current iOS project. Now I have some scrollviews where I wanna automatically scroll to target point. Is there a way to imitate "scrollRectToVisible:animated" using Frank or to do a swipe/scroll gesture? I already…
Vinh
  • 944
  • 13
  • 34
3
votes
2 answers

UIScrollView does not scroll smooth?

I have a IPhone app that has 10 NSTimer functions that check every .5 second on a view that scrolls. Each timer has 3 labels, 1 text field and 1 UIImageView. All 30 labels, 10 text fields and 10 UIImageViews need to scroll. Problem 1 is the view…
Eric
  • 157
  • 1
  • 11
3
votes
2 answers

UIScrollView Subclass never receives touchesBegan message for swipes

I am trying to make a scroll view only scrollable on a certain region. To do this, I am subclassing UIScrollView and overriding touchesBegan (similar to this question). Here's my (pretty simple) code. .h @interface SuppressableScrollView :…
bbrame
  • 18,031
  • 10
  • 35
  • 52
3
votes
1 answer

iOS dropdown menu from top with horizontal scroll view

i'm quite new to ios development and i'm wondering if there is such a "drop down menu" as you see in the following picture: when you touch it, it smoothly comes down and returns up after another touch. additionally, there is a horizontal scroll…
user944351
  • 1,213
  • 2
  • 19
  • 27
3
votes
2 answers

iOS: How To swipe through an image with pagination on

Basically, I want to have an app with only one view that has an image on it. I want to be able to swipe left or right and have the first image go out of the view and the second image to come in. The images are the same and I want it to look like…
Sneagan
  • 43
  • 1
  • 1
  • 5
1 2 3
99
100