UIView Horizontal scroll for a part of a screen

Posted by Futur on Stack Overflow See other posts from Stack Overflow or by Futur
Published on 2010-04-30T22:31:49Z Indexed on 2010/04/30 22:37 UTC
Read the original article Hit count: 251

Filed under:
|
|

Hi Friends,

I have a requirement for scrolling a part of a view horizontally.

there are 2 views, mainView(0,70,320*2,400) and a horizontalView(0,0,320*2,160)[this horizontalView has an internal UIScrollView with the same frame]

So the horizontal view will occupy the first section of the screen and it should only be scrollable horizontally (and the other part of the mainView - the other part of the screen should be static).

how to achieve this? i am getting a general scroll for the whole page not for the first section alone.

am i in the right direction for this problem? please advice

Thank you

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk