i am looking to create an “options” page for my application and because they are many , the screen of the phone is not enough to show.
So i need the user to be able to scroll down the view to see more options till the last. I know i should use the scrollview , but i dont know how.
All the tutorials i ve found are about scrolling all over the screen , zooming , scrolling from left to right , but nothing on how u can create a simple page scrolling up and down.
How exactly do i do that? Do i make many .nib files and somehow i connect them? Do i make a big .nib file?
Can someone guide me to a tutorial on that?
Use
ContentSizeproperty ofUIScrollViewto scroll what ever area you want. i.e.take
UIScrollViewadd it onUIViewwith exist height of iPhone. i.e. max 460.0So
ScrollViewframe will be max (0,0,320.0,460.0).Now after adidng
ScrollViewtoViewsetContentSizeproperty to upto scrollable area.