title: make UIScrollview scroll
body: <p>I have porblem that my <code>UIScrollView</code> does not scroll I don't think that is a problem with iphone emulator. Here is my way to construct <code>UIScrollView</code>:</p>
  
  <pre><code>[scrollView setBackgroundColor:[UIColor blackColor]];
  [scrollView setCanCancelContentTouches:NO];
  scrollView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
  scrollView.clipsToBounds = YES; // default is NO, we want to restrict drawing within our scrollview
  scrollView.scrollEnabled = YES;
  </code></pre>
  
  <p>and I add <code>UILabel</code> to it, to which later I add some info from xml.</p>
  
  <pre><code>labeL = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 320, 1000)];
  labeL.numberOfLines = 0;
  labeL.text =@"";
  [scrollView addSubview:labeL];
  </code></pre>
  
  <p>this is how I add value to <code>UILabel</code>: </p>
  
  <pre><code>vypisObratString = [[NSMutableString alloc] initWithString:labeL.text];
  if (turnOver) {
      turnOver = NO;
      [vypisObratString appendString:@"----------------"];
      [vypisObratString appendString:@"\n"];
      labeL.text = vypisObratString;
  }
  </code></pre>
  
  <p>But when I compile the program it writes the corect values but the last line is like this:</p>
  
  <pre><code>12.1.2010...
  </code></pre>
  
  <p>and it does not scroll. Why? What I missing?</p>