views:

282

answers:

0

Hi There, can anyone tell me what I am doing wrong. I am trying to load a UIScrollView in a UIView. I am using IB to load the items and what not. the come I am using in the ViewController isnt working. :( I have it under the ViewDidLoad

- (void)viewDidLoad {
[scrollView setScrollEnabled:YES];
[scrollView setContentSize:CGSizeMake(768, 1300)];
}

Whats wrong with it. It builds fine.

While I am asking, how do you set the scroll view to strech when the iPad is rotated? Thanks for your help