uiscrollview

UIScrollView. Any thoughts on implementing "infinite" scroll/zoom?

So, UITableView supports essentially "infinite" scrolling. There' may be a limit but that sucker can scroll for a looonnnggg time. I would like to mimic this behavior with a UIScrollView but there are two fundamental impediments: 1) scrollView.contentSize is fixed at creation time. 2) zooming can blow any lazy-loading scheme all to hell...

Is it Possible to Center Content in a UIScrollView Like Apple's Photos App?

I have been struggling with this problem for some time and there seems to be no clear answer. Please let me know if anyone has figured this out. I want to display a photo in a UIScrollView that is centered on the screen (the image may be in portrait or landscape orientation). I want to be able to zoom and pan the image only to the edg...

iPhone "flipping" to UIScrollView isn't initially scrolling.

Hi there, I've got this slightly strange issue that I can't quite seem to figure out. I'm following the example given by Apple to "flip" a view. Now the "flipping" is working fine. I'm using an nib file containing two "views" showing "summary" and "detailed" information. The "summary" page is a UIView. Whereas the "detailed" page is...

setContentOffset:animated: shows view background

Hi, I have a UIScrollView with with different view controllers for each page inside it. When I use setContentOffset:animated: to scroll to a different page I can see a white line between the pages. This white line doesn't appear when I scroll by dragging the UIScrollView. Has anyone seen this problem before? Any idea of what I might be...

How do I make a UIScrollView zoom to size of UIImage ?

Right now, when I double tap the UIScrollView I run this code (taken from Apple's own example code): #define ZOOM_STEP 1.5 float newScale = [imageScrollView zoomScale] * ZOOM_STEP; CGRect zoomRect = [self zoomRectForScale:newScale withCenter:tapPoint]; [imageScrollView zoomToRect:zoomRect animated:YES]; However, I have set the maximum...

Is there a way to create a scrollViewISZooming method similar to the scrollViewDidEndZooming?

I am looking for a way to create a scrollViewIsZooming method that is called while zooming is occuring. Does anyone know of a way to do this? I am wanting to use it to keep the content centered in the scrollView while zooming. If I use the scrollViewDidEndZooming method, the content snaps back to the center after zooming is finished. T...

UIScrollView tends to "snap" back to a previous position

Hi guys!! I'm using a UIScrollerView and I found that it tends to "snap" back to a previous position when I scroll it. I would like to simulate the behavior if the UItableView's scroller, that stays in the position where the user released his finger. Thanks in advantage for your help Alejandra let me add the properties set: [scrol...

Problems with doing a flip animation between a UIView and UIScrollView

I'm new to iPhone development and I'm trying to do a flip animation between a UIView and another UIView containing a regular UIView and a UIScrollView, the scroll view in turn has several UIViews as subviews. Before the animation start, the scroll view needs to be offset to a particular point to show a particular subview (the user is...

Implement custom zooming for a UIScrollView

Hi, I have a UIScrollView with the requirement that, when zooming, the contentSize.height should remain the same. Zooming in from 200x100 should result in a new contentSize of 400x100 instead of 400x200, for instance. I'd like to do my own drawing while the user is zooming. I don't think I can use the normal zooming behaviour of UIScro...

iPhone UIScrollView multiple view scaling ?

I am trying to build a map with annotations very much like MKMapKit (google maps API) - but with custom maps for indoors. I have a PDF map (mapView) being loaded into a scroll view for the map as a CATiledLayer - this works great! I have a view annotationsView which draws the annotation bubble on top of the map exactly how I want it - b...

UIScrollView scrollsToTop at custom speed

I have a UIScrollView and I'm calling scrollRectToVisible:animated:YES on it. I would like to set the speed at which it is animated. Can that be done? ...

Turn off Zooming in UIScrollView

Does anyone know a way to temporarily turn off zooming when using a UIScrollView? I see that you can disable scrolling using the following: self.scrollView.scrollEnabled = false; but I'm not seeing a similar command for zooming. Any thoughts? ...

Iphone Scrollview Question

Hi there, i am quit new at iphone development and trying to make a photo collage software while learning it. Right now i have a lil problem and hope you can help me out. I have an UiviewController with a view in it, in this view i have 7 scrollviews with uiimagevies in them for zooming and scollign images within these scrollviews. All...

Shadow or Border around a scrollview iphone

Hi there, i would like to draw a border / shadow around a uiscrollview, i know that i could get there with an additional view or scrollview but dont like the handling an drawbacks but i heard that there should be a possibility to dirctly draw a border to a scrollview and that is what i would prefer. I am quit new to iphone dev so if th...

Draw a border around mkmapview,scrollview and webview .

Hello all . I am developing an iPhone application in which I have a page in which I am using scrollview mkmapview and webview all at once in the control of a segmented control. I am doing it confortablly . My question is that I want to show border or frame outside this frames. How can I do so ? ...

A large UITableView with objects underneath

Hi All, I am trying to create a view that contains a UITableView which is larger than the view itself and once you finish scrolling that table view you will see a button underneath. I was trying to add a UIScrollView and another background view behind that UITableView so I can simply create a hugh view with a table view and button as it...

iPhone Simulator always generates two shake events? (UIScrollview not scrolling for second event)

When I select "Shake Gesture" from the Hardware menu in the iPhone simulator, my first responder always receives two shake events (with a few milliseconds in between). Unfortunately these two events in the simulator lead to a problem with an UIScrollview that should scroll to a specific position - what it does, but only for the first ev...

Placing UITextView inside a UITableView footer

Hello everyone I have a UITableView with footer view. This footer view contains a UITextView as a subview. Both the table view and footer view are created programmatically. The text view appears on screen correctly, but it doesn't display any text, nor does it respond to touch events. Could the problem be related to the fact that UITex...

UIButtons over a UIImageView Zooming

hey guys, this is my first time post here, and im pretty new to iphone programming. i just started about a month ago and have only been tinkering with small tutorial type applications but anyways, heres my question i currently have a UIScrollView thats scrollable and zoomable, that loads a UIImageView subview, and i want to add in some ...

Learning the basics of UIScrollView

I've been having a very hard time finding good examples of UIScrollView. Even Apple's UIScrollView Suite I find a bit lacking. I'm looking for a tutorial or example set that shows me how to create something similar to the iPhone Safari tab scrolling, when you zoom out from one browser window and can flick to others. But I'm having a ha...