title: inserting various views into UIScrollView
body: <p>we're trying to implement an article detail view for an RSS-like application. The windows has a UIScrollView that contains a UITextView (which is the title), a UIButton (which opens a gallery), and a UIWebView (with the body). The idea is that all these elements scroll together... </p>
  
  <p>The problem is that whenever we have a body over 1000px tall, everything below that mark is truncated. We've heard that this is because that is the maximum height for a view, and since the Scroll is handled by the top UIScrollView, there is no way to see what's further down.</p>
  
  <p>does anybody know a way around this?</p>
  
  <p>Thanks!</p>
  
  <p>---- update 1 ----</p>
  
  <p>We've broken up the body into 900px-high chunks, but all webviews after the first one show no content...</p>
  
  <pre><code>UIScrollView *scroll=[[UIScrollView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
  [scroll setBackgroundColor:[UIColor whiteColor]];
  [scroll setCanCancelContentTouches:NO];
  scroll.clipsToBounds = NO;  
  scroll.indicatorStyle = UIScrollViewIndicatorStyleBlack;
  
  //Título
  CGRect tit =CGRectMake(5.0f, 0.0f, 315.f, 50.0f);
  UILabel *titulo=[[UILabel alloc] initWithFrame:tit];
  titulo.text=[itemNew objectForKey:@"titulo"];   
  titulo.numberOfLines = 2;
  titulo.font=[UIFont fontWithName:@"Helvetica" size:16.0f];
  titulo.textColor=[self getColor:@"00336E"];
  [scroll addSubview:titulo];
  [titulo release];   
  
  //Entradilla
  float altura_entradilla=calcLabel([itemNew objectForKey:@"entradilla"], [UIFont boldSystemFontOfSize:16], 50, 315.0f);
  CGRect ent_frame = CGRectMake(5.0f, 50.0f, 315.0f,altura_entradilla );
  UILabel *entradilla=[[UILabel alloc] initWithFrame:ent_frame];
  entradilla.text=[itemNew objectForKey:@"entradilla"];
  entradilla.numberOfLines=4;
  entradilla.font=[UIFont fontWithName:@"Helvetica" size:17.0f];
  entradilla.textColor=[UIColor blackColor];
  [scroll addSubview:entradilla];
  [entradilla release];
  
  NSString *cuerpo=[itemNew objectForKey:@"cuerpo"];
  
  [scroll setContentSize:CGSizeMake(320.0f,40000.0f)];
  [scroll setScrollEnabled:YES];  
  
  webView = [[UIWebView alloc] initWithFrame:CGRectMake(5.0f, altura_entradilla+50, 315.0f, 900)];    
  [webView loadHTMLString:cuerpo baseURL: [NSURL fileURLWithPath:[[NSBundle mainBundle] resourcePath]]];  
  webView.detectsPhoneNumbers=NO;
  webView.delegate=self;
  [webView setScalesPageToFit:NO];
  [scroll addSubview:webView];
  
  webView.backgroundColor=[UIColor blackColor];
  webView.userInteractionEnabled=NO;
  [webView release];
  
  if (altura_webview&gt;900) {
     UIWebView *webView2 = [[UIWebView alloc] initWithFrame:CGRectMake(5.0f, altura_entradilla+50+900, 315.0f, 900)]; 
     [webView2 loadHTMLString:cuerpo baseURL: [NSURL fileURLWithPath:[[NSBundle mainBundle] resourcePath]]];  
     webView2.detectsPhoneNumbers=NO;
     webView2.delegate=self;
     [webView2 setScalesPageToFit:NO];
     [scroll addSubview:webView2];
     webView2.backgroundColor=[UIColor yellowColor];
     webView2.userInteractionEnabled=NO;
     [webView2 release];
  }
  
  self.view=scroll;
  </code></pre>