UIScrollView w/ zoom doesn't scroll until zoomed?

If you haven't, it won't know that there is offscreen content to display.

Up vote 1 down vote favorite 1 share g+ share fb share tw.

I have a UIScrollView loaded with a UIImageView, so that the user can zoom in, and then scroll if necessary. However, if the image is larger than the screen, scrolling doesn't do anything until the user pinches to zoom (even just one pixel). For example, the image might be 320 x 600, so they see a section 320 x 480, but would have to scroll to see the rest.

However, the scrolling wouldn't work until they zoomed in or out. Is there any way to avoid this? Iphone ios uiscrollview scroll zoom link|improve this question asked Feb 11 at 22:57Greg21510 64% accept rate.

1 Worked like a charm. – Greg Feb 11 at 23:07 I can't believe this simple solution could solve this problem. Tnx – Mona Mar 19 at 8:16.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions