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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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?
...
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?
...
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...
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...
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 ?
...
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...
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...
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...
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 ...
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...