title: UITextView text not starting from top
body: <p>I have a <code>UITextView</code>. I want its text to start from top but I it is not coming from top. Please have a look at my code :  </p>
  
  <pre><code>UITextView *myTextView = [[UITextView alloc] init];
  myTextView.frame = rect;
  myTextView.editable = NO;
  myTextView.font = [UIFont fontWithName:@"Helvetica" size:MAIN_FONT_SIZE];
  myTextView.backgroundColor = [UIColor clearColor];
  myTextView.text = sourceNode.label;
  myTextView.dataDetectorTypes = UIDataDetectorTypeAll;
  [cell.contentView addSubview:myTextView];
  [myTextView sizeToFit];
  [self alignTextToTopTextView:myTextView]; 
  </code></pre>
  
  <p><strong>alignTextToTopTextView</strong>: </p>
  
  <pre><code>-(void)alignTextToTopTextView :(UITextView*)textView{
  
      CGRect frame = textView.frame;
      frame.size.height = textView.contentSize.height;
      textView.frame = frame;
  } 
  </code></pre>
  
  <p><strong>Please see the below screenshot</strong>. </p>
  
  <p><code>UITextView</code> is on the right side.  </p>
  
  <p><img src="https://i.stack.imgur.com/3nWGR.png" alt="enter image description here">  </p>