I want to enable ScrollView in TextView.When TextView Height Is Increased

1)I want to enable ScrollView in TextView.When TextView Height Is Increased.

2) when I am Entering full lines after pressing enter what I am typing is showing.But when I am entering just 2 or 3 letters after pressing enter what I am entering is not showing.It is showing after pressing enter

 -(void)viewDidLoad
{
  UITextView *txtView=[[UITextView alloc]init];
  txtView.frame = CGRectMake(60, 100, 350, 154);
  txtView.backgroundColor=[UIColor whiteColor];
  txtView.font=[UIFont fontWithName:Nil size:30];/*Font size*/
  txtView.delegate=self;
  txtView.scrollEnabled=YES;
  [self.view addSubview:txtView];
 }
 -(void)textViewDidChange:(UITextView *)textView
 { 
 if(textView.contentSize.height>textView.frame.size.height)
 {
 CGRect frame = txtView.frame;
 frame.size.height = textView.contentSize.height+90;
 textView.frame = frame;
 textView.scrollEnabled=YES;
 }
 textView.scrollEnabled=YES;
 }


ANSWERS:


if(textView.contentSize.height > textView.frame.size.height)
{
    CGRect frame = textView.frame;
    frame.size.height = textView.contentSize.height + 90;
    textView.frame = frame;
    textView.scrollEnabled = YES;

    [textView setContentSize:CGSizeMake(0, textView.frame.size.height + 1)];
}


 MORE:


 ? Autolayout ScrollView with dynamic content
 ? Using a textView and ScrollView in the same ViewController does not work? Swift
 ? How to adjust the height of a textview to his content in SWIFT?
 ? How to dynamically adjust height of UITextView
 ? Get number of lines in UITextView without contentSize.height
 ? Get number of lines in UITextView without contentSize.height
 ? Get number of lines in UITextView without contentSize.height
 ? Background Image for UITextView
 ? iOS7 UITextView contentsize.height alternative
 ? Get number of lines UITextView without using "\n"?