Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sujithkrishnan

macrumors 6502
Original poster
May 9, 2008
265
0
Bangalore
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??
 

eksor

macrumors newbie
Jun 24, 2008
1
0
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.