uiscrollview

How to recognize swipe gesture in UIScrollView

I'm trying to recognize left/right swipe gesture in a UIScrollView. I've tried to create UISwipeGestureRecognizers and associate them with the scroll view. It works but very rarely. Most of the time I do not get called. Why? How can I reliably get swiping left/right to work? Can I use the gesture recognizers or do I have to somehow hand...

UIScrollView not zooming at all

Hi, I made a UIScrollView, added a UIImageView to as a subView, set the viewForZoomingInScrollView: method to return the subView, set the UIScrollView's delegate to self in my viewDidLoad, set my ViewController to be a UIScrollView delegate, set the maxZoom to 5.00 in IB, and I still am unable to scroll I'm using the iPhone simulator, p...

How to enable zoom in UIScrollView

How can enable zooming effect in UIScrollView? ...

Can I make a UIScrollView only scroll when i interact only with specific places in the view? UIScrollView iPad

I have a UIScrollView wich contains 2 views the first at offset 0 and the other at offset 800. I want the user to be able to scroll down but not always, because in the upper view i have another controls tha receive touch input and dragging and sometimes when you are dragging if your touch is just a little bit out of the control the scrol...

How to acheive 2 dimensional scrolling on iPhone

Hey Folks, I am trying to create a excel like view in my app. To do that I wanted to achieve both horizontal n vertical swipes at the same time .i.e., if the vertical scroll would fill with rows and the horizontal with columns.. have no clue hw to begin with. Any help would be greatly appreciated... ...

How can I do Vertical Paging in UIScrollView

Is it possible to do vertical scrolling without horizontal scrolling in UIScrollView? How can I do this? ...

Defining scroll amount with UIScrollView and PageControl

Hello! For the application I am working on I need a scrollview with paging along with a number of views (in this case tableviews). Setting this up (using Apple's PageControl example) is easy enough and I have no problem making it work in regards to scrolling and snapping between pages. I want the tableviews to be almost like thumbnail re...

Second UIScrollView responding when using a UIScrollView

Hi all, This is more of a check as I believe this is right but its a lot of work if I'm wrong. I want to basically achieve fixed positioning with a scrollView. I want to have a list along the top that is always visible, scrolls horizontal only and then a scrollview beneath that to move around the information which scrolls both vertical...

UIScrollView EXC_BAD_ACCESS crash in iOS SDK

I have an iPhone SDK application that has several views that appear and disappear as the user creates content. After using the application on a device for a while, I get the following crash: Program received signal: “EXC_BAD_ACCESS”. (gdb) backtrace #0 0x33369ebc in objc_msgSend () #1 0x320e5248 in -[UIScrollView(UIScrollViewInterna...

How to auto scroll UIScrollView using timer

Hi, I have scrollview to show images. I need timer to show images one after another for every 5 seconds. How to initiate UIScrollView event to move next after 5 sec using timer? Thank you vb ...

Problem with UIScrollView and CATiledLayer

Hello ! I'm working on the example code named PhotoScroller (an Apple's example of WWDC 2010). There is an UIScrollView which return a custom UIView when zooming - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView {     return imageView; } The layer of this imageView is a CATiledLayer. My problem is for each zoom t...

How to present a "gallery" on the ipad?

Hi guys, I'm building an app for the ipad that uses the youtube api to get the video thumbnails and present them in a gallery (like the native youtube app on the ipad). Basically it's just a bunch of UIImageViews on a UIScrollView. Now the problem is that displaying all the images at once may cause the app to crash due to memory problem...

UIScrollView, scroll when UIResponder become first responder

If you have some UITextField into a UIScrollView, each time an UITextField becomes the first responder, UIScrollView automatically scrolls to show the field if it is under the keyboard. Why can't do this when the responder is another responder that can be first responders instead of an UITextField? Have I to subclass each UIResponder th...

UIScrollView - detect image is in the middle of the screen

Hi, I am creating an iPhone application and I have a UIScrollView. I'd like to ask how to detect that the imageview is in the middle of the page to display its label below the UIscrollview. Thanks! ...

UIScrollView (paging mode) bounces only when there two or more pages?

Hello all I just have this strange question. I have a UIScrollView, and I have only one page in that scroll. The scroll is paging enabled and bounce enabled. Here is my code (in iPad) scroll = [[UIScrollView alloc] init]; scroll.pagingEnabled = YES; scroll.showsHorizontalScrollIndicator = NO; scroll.showsVerticalScrollIndicator = NO; ...

iPhone UIScrollView Speed Check

I know how to get the contentOffset on movement for a UIScrollView, can someone explain to me how I can get an actual number that represents the current speed of a UIScrollView while it is tracking, or decelerating? ...

Passing scroll gesture to UIScrollView from another view

Hi, I do have a view that has a UIScrollView and over it there is a view that display some text. When the user swipes over this view that contains text the UIScrollView won't scroll. How to make this view transparent in a way it relays the swipe gesture to UIScrollView. Thanks ...

UIScrollView and scrollRectToVisible:animated:

I have a paging UIScrollView that pages through multiple full screen images. I am tiling the pages, queuing and dequeuing the UIViews dynamically as the scroll view pages through the collection of images, based on Apple example code. I have a toolbar button the calls scrollRectToVisible:animated: to move the UIScrollView to a specific i...

how can I access control of different pages in UIScrollView ?

I have a horizontal UIScrollView. It have 3 pages. It I have 3 UIButtons on each page of the scrollview. Total of 9 UIButtons. I need to set a different color when a button is touched, so that I can differentiate that touched button with the other buttons. I tried setColor by checking BOOL values. It is working for single page. When I ...

How to actually implement the paging UIScrollView from Apple's example?

I found an example of a paging UIScrollView in Apple's developer docs and it's just what I want for my application. I have a main view with a "Help" button that I want to present a view that users can page through to see all the help topics. The sample is at: https://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptu...