UIScrollView on iPad isnt working

Posted by Magician Software on Stack Overflow See other posts from Stack Overflow or by Magician Software
Published on 2010-04-21T21:21:53Z Indexed on 2010/04/21 21:23 UTC
Read the original article Hit count: 496

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

© Stack Overflow or respective owner

Related posts about uiscrollview

Related posts about iphone-simulator