Skip to content

Instantly share code, notes, and snippets.

@romyilano
Created February 10, 2013 17:10
Show Gist options
  • Select an option

  • Save romyilano/4750249 to your computer and use it in GitHub Desktop.

Select an option

Save romyilano/4750249 to your computer and use it in GitHub Desktop.
manually setting the scroller size in a UIViewController change the contentSize property
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
self.theScroller.contentSize=CGSizeMake(280.0,1000.0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment