uiscrollview

iPhone: CATiledLayer/UIScrollView wont scroll after zooming and only zooms to anchor point

Here is the problem... I am using CA Tiled Layer to display a large jpg. The view loads okay, and when I go to scroll around, it works fine. However, as soon as I zoom in or out once, it scrolls to the top left (to the anchor point) and will not scroll at all. The zooming works fine, but I just cannot scroll. Here is my code: #import <...

scrolling a UIScrollView Programatically

hi, I want an idea to scroll a UIScrollView without user inputs. how to do that ? ...

I want : UIscrollview with non scrolling button

Hi there, I'd like to put the following interface in place : I'd like to have a uiscrollview taking all the screen (big picture to be zoomed...) On top of that "scrolling image" : I'd like have 2 buttons (e.g.back and instructions) redirecting th user to other views. Could you drop me a code snippet where I understand how to organize t...

UIScrollView calls layoutSubviews() each time its scrolled

Hi, I subclassed UIScrollView (IPhone SDK) and overrode the (void)layoutSubviews; method. I noticed that each time the scrollView is scrolled, this method is called. Is that the correct behaviour or do I have mistakes in my code? If it is the default behaviour, isn't this a performance killer? Sincerely, heinrich ...

autoscrolling for UIScrollView

Hi, I used the setContentOffset method to scroll to a particular point automatically without user interaction. [menuScrollView setContentOffset:CGPointMake(600.0,0) animated:YES] but when i try to call the same method in a looping fashion inorder to slow down the speed of scrolling the scrolling never happens for (int i = 1; i<=30; ...

UIScrollView on scroll update method

Hi is there a method / possibility to run a function when the scrollview is scrolling? i found scroll start and scroll end solutions but nothing like a onIsScrolling ... is there a built in solution? or whats the best workaround (nstimer)? thanks Alex ...

UIView coordinate transforms on rotation during keyboard appearance

iPad app; I'm trying to resize my view when the keyboard appears. It amounts to calling this code at appropriate times: CGRect adjustedFrame = self.frame; adjustedFrame.size.height -= keyboardFrame.size.height; [self setFrame:adjustedFrame]; Using this technique for a view contained in a uisplitview-based app works in all 4 orien...

UIScrollView: Is 806k Image too much too handle? (Crash, out of memory)?

I'm loading a 2400x1845 png image into a scroll view. The program crashes out of memory, is there a better way to handle this? mapScrollView is an UIScrollView in IB, along with a couple of UIButtons. -(void)loadMapWithName:(NSString *)mapName { NSString* bundlePath = [[NSBundle mainBundle] bundlePath]; UIImage *ima...

UiScrollView with scrolling content

I have a detail page of type UIScrollView. On it I want an optional UIImageView and a mandatory UITextView. If no image is available then the image view should not take any space. The text for the text view can be of varying sizes. When the view is loaded with, say, the image and the text I need to be able to scroll through all the cont...

UIScrollView issue with autorotation and content scaling

Hi, I'm building a new (autorotating) iPad app that consists mainly of a screen sized UIScrollView that contains an UIImageView for an image which is 5 times the iPad screen resolution while in portrait mode (3840x1024). What I haven't been able to accomplish is that whenever the device rotates (to whichever orientation) the imageView ...

How can I get the UITableView scroll position so I can save it?

Is there any way to find out which UITableViewCell is at the top of the scroll window? I'd like to get the current scroll position so that I can save it when the app exits. When the app gets started I want to scroll to the position it was at when it last exited. ...

How to have a scrollview take the space between the uinavigationbar and the uitoolbar

Hello, I have a scrollview that I had to the view of the view controller pushed to a UINavigationController. My navigation bar is opaque. However, the scrollview seems to keep size of the whole parent view. I would like the scrollview to have the size of the space between the toolbar and the navigationbar. Is this possible or do I hav...

Scroll view to bottom while keyboard is hiding

Hi! I'm using a scroll view to move my view and show certain text fields (that otherwise would be hidden) when the keyboard shows. I basically resize the scroll view to make room for the keyboard, and then scroll up the view smoothly with "scrollRectToVisible", which works perfectly. After that, I can scroll and edit the rest of the te...

UIScrollview calling superviews layoutSubviews when scrolling?

Hello, I added a UITableView as a subview to a custom UIView class I'm working on. However I noticed that whenever I scroll the table it calls my classes layoutSubviews. I'm pretty sure its the UIScrollview that the table is inheriting from which is actually doing this but wanted to know if there is a way to disable this functionality ...

UIScrollView with 3 UITableViews

I made a UIScrollView like the Weather.app. On the first page I've placed a UITableView which shows data loaded from a website. On the second and on the first page I also want to place a UITableView. The other two tables should also load data from a website, but from another URL. Now my question. How can I set up a UIScrollView with 3 ...

is there a way to make the window scroll when the mouse gets near it's boundaries using mootools?

i need to make a drag and drop list for re-ordering which is longer than the screen height. in order to make this usable, the window needs to scroll while the element selected and the mouse is near the boundaries of the screen. what is the best way to achieve this? thanks :) ...

How do I properly handle rotation of a UIScrollView containing UIImageViews?

I'm developing an image viewer, much like the Photos App. It's a UIScrollView with paging enabled with images loaded from the internet, so I've adapted portions of the LazyTableImages sample. The Scroll View and each ImageView inside of it have all of their autoresize mask flags set. When I first observed how resizes were happening du...

UIScrollView not scrolling...

I have a UIScrollView which contains many UIImageView's UILabel's etc... the labels are well longer that the UIScrollView, but when I run the app, I cannot click and scroll down... Why might this be? Thanks ...

Monotouch UIScrollView/UIPageView with UITableView as panel

Hi I'm building an app which is a guide to festivals. In the app I show lineups. You can see the Ui I have built for this on the video here: http://wmcstar.com/download.html The problem I have is that the scrollview/UIPageView - which does the left/right scrolling through the days, sometimes conflicts (i think) with the up/down scroll...

Obtaining touch location for a uiscrollview touch

I have a uiscrollview as an element of a uiscrollviewcontroller, along with other view objects. The image scrolls and zooms as expected, when the scrollView is the top subview. However, I also need to get the screen location of the touch, in particular when there is no scroll action. (I understand the location may change during a scro...