uiscrollview

no more scrollViewDidEndScrollingAnimation delegate after bounce...

hello, My UIScrollView has a strange behaviour. A view controller is a delegate of my UIScroll, during scroll I receive scrollViewDidScroll and scrollViewDidEndScrollingAnimation. All is working. But when the scroll view bounces, I no more receive scrollViewDidEndScrollingAnimation but still receiving scrollViewDidScroll... Do you have...

"Fixing" a sub-view within a UIScrollView

I have a UIScrollView which contains a view (lets call this "main view") which scrolls along the X and Y axis. I am trying to transparently overlay a heading over this view which is fixed at the top of the screen (not view) but scrolls along the X axis as the main view does. When the main view scrolls along the Y axis the heading remai...

Layout options in UITableView (iPhone)? Or extend UIScrollView?

Hi, I'm new to Objective-C and iPhone coding and was hoping someone could help me. Basically I want a scrollable table that displays a name and a quantity of that item. For example: Apples.........2 Oranges......4 Bananas......5 I want the name to be left-justified and the number to be right-justified. Is there any way to do this w...

Fast drawing in large-sized custom view

I'm developing Piano App for iPhone. I'd like to develop smooth-scrollable keyboard (like Music Sampler). I put a custom view(1440px x 120px) in UIScrollView. I wanted to use OpenGL because Quartz is too slow. But I couldn't make OpenGL view in 1440px. Any idea to make a faster & large-sized custom view? Thank you. ...

UIScrollView Touches Don't Seem to Work

I used the "View-based Application" template in Xcode for an iPhone project and went into the view controller XIB. I changed the view from a basic UIView to a UIScrollView, and now the method - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; never gets called. I have an NSLog statement in there. It gets called just fine w...

UIScrollView pauses NSTimer until scrolling finishes

While a UIScrollView (or a derived class thereof) is scrolling, it seems like all the NSTimers that are running get paused until the scroll is finished. Is there a way to get around this? Threads? A priority setting? Anything? ...

How do I reset (i.e. un-zoom) a UIScrollView?

I have a UIScrollView that contains an image and a segmented control that allows the user to switch the image inside of the ScrollView. If I just swap the image out inside of the UIImageView, it will display the new image in the zoomed-in state. How do I reset the UIScrollView back to its un-zoomed-in state? ...

How to use scroll view on iPhone?

I want to display a text with a lot of lines. I added a multiline-label to a scroll view, but it didn't show anything. Looks like this is not the correct way to use the scroll view. How to use scroll view so that users can drag down to see more text? ...

UIScrollView with centered UIImageView, like Photos app

I would like to have scroll view with an image content view. The image is actually map which is much bigger than the screen. The map should be initially in the center of the scroll view, like photos in Photos app when you turn iPhone to landscape orientation. I did not manage to have the map in the center with correct zooming and scro...

iPhone UIScrollview with UIButtons - how to recreate springboard?

I'm trying to create a springboard-like interface within my app. I'm trying to use UIButtons added to a UIScrollView. The problem I'm running in to is with the buttons not passing any touches to the UIScrollView - if I try to flick/slide and happen to press on the button it doesn't register for the UIScrollView, but if I flick the space ...

How to dynamically restore the UIScrollView's zoom level and position when my app relaunches?

My application consists of a UIImageView inside a UIScrollView, and I display a big image inside of it. The scroll view allows the user to pinch to zoom in/out in the image, and that all seems to work just fine. However, when my application is terminated and then re-launched, the UIScrollView displays the image again in the original zoo...

Synchronizing UIScrollView scrolling

I have three UIScrollViews, scrollView1, scrollView2, and scrollView3. When scrollView1 is scrolled then scrollView2 should scroll horizontally with it, and when scrollView3 is scrolled then scrollView2 should scroll vertically with it. How can I do this? ...

Circular UIScrollView

I have a UIScrollView with images in it. When the user reaches the last image and swipes the finger for next image, I want to show the first image. Similarly, when the user is at the first image and swipes for previous image, I want to show the last image. In short, it will be a circular sort of a thing. How can I implement this? ...

Prevent diagonal scrolling in UIScrollView?

How can I force a UIScrollView in which paging and scrolling are on to move vertically or horizontally only? My understanding is that the directionalLockEnabled property should achieve this, but a diagonal swipe still causes the view to scroll diagonally instead of restricting motion to a single axis. Edit: to be clearer, I'd like to a...

UIWebView doesn't scroll when embedded in UIScrollView

Hello, I have an UIScrollView which contains 3 UIWebview. The problem is that my webview no more scroll on touch. Do you have an idea ? Thanks Thierry ...

How can I use an UIScrollView in an Multiview-Application?

I have: - an AppDelegate class - two viewController classes - three nib files (MainWindow.xib, firstView.xib, secondView.xib) I want: The secondView.xib should have an UIScrollView inside, so that I can add a lot of stuff to the view and it can be scrolled down. Where would I have to conform to the UIScrollViewDelegate protocol now? I ...

How to create hotlinks on image?

I'm not sure what the iPhone version of this is called but in HTML it is an image map. Certain areas of the map route you to different pages. I'd like to use an image, mostly in a scrollview, that I can have certain areas perform different actions. For example, Chemical Touch, http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoft...

How can I reproduce the flick-to-scroll behavior of the iPhone UIScrollView in my own custom view?

I would like to reproduce UIScrollView's flick-to-scroll behavior, but I don't want to use (or can't use) that class. What can I do? ...

Scrolling with two fingers with a UIScrollView

I have an app where my main view accepts both touchesBegan and touchesMoved, and therefore takes in single finger touches, and drags. I want to implement a UIScrollView, and I have it working, but it overrides the drags, and therefore my contentView never receives them. I'd like to implement a UIScrollview, where a two finger drag ind...

Resizing a UIView to make it scrollable in a UIScrollView

I added a UIScrollView in my appDelegate, and then did scrollView.contentSize = CGSizeMake(720, 480); scrollView.showsHorizontalScrollIndicator = YES; scrollView.showsVerticalScrollIndicator = YES; scrollView.delegate = self; [scrollView addSubview:viewController.view]; [window makeKeyAndVisible]; Where view Controller loads up a UIV...