
How can i set the height and width of the UIScrollView according to my requirement. Actually i'm creating a login application form iPhone and using UIScrollView. Also i have number of item to add on the UIScrollview but in XIB it's Showing the fixed length.
Please suggest.

scrollview.contentSize
Hi, find the given code to set the scrollview.contentsize in xcode iPhone.
- (void)viewDidLoad {
[super viewDidLoad];
UIScrollView *iScrollView=(UIScrollView *)self.view;
tempScrollView.contentSize=CGSizeMake(1280,960);
}

UIScrollView *iScrollView=(UIScrollView *)self.view; iScrollView.contentSize=CGSizeMake(1280,960);

UITableView / Custom Table Cell View is more standard approach to create a user Login application or any other form based application in iPhone.
The reason why i prefer UITableView over UIScrollView is that it automatically re-size and scroll the page vertically.
Neelam