View Full Version : Problem in using UIScrollView

May 26, 2008, 05:43 AM
Hi all.

I tried using UIScrollView in my iPhone App.
The scrollview is displaying and i added some more labels and textfields, textviews into it successfully.
But the scrollview is not showing the scroll bars, both horizontal and vertical.
Doi want to implement the delegate methods???
Which are necessary if so??

Jun 24, 2008, 03:48 AM
Set the property "contentSize" which is type CGSize.

Just as a test try the following:

scrollview.contentSize = CGSizeMake( 320, 1000 ); // you'll be able to scroll up and down only as much as 1000px.

Apr 6, 2011, 07:59 AM
for beginners.....