title: UITextview typingAttributes not working
body: <p>I have UITextView and I want to set it's line height to 50.0f so I'm using typingAttributes, but nothing works, my code goes like this in ViewDidAppear Method</p>
  
  <pre><code>UITextView *textView = [[UITextView alloc]initWithFrame:CGRectMake(0, 0, 300, 300)];
  
  NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
  paragraphStyle.minimumLineHeight        = 50.0f;
  paragraphStyle.lineHeightMultiple       = 50.0f;
  paragraphStyle.maximumLineHeight        = 50.0f;
  
  NSDictionary *textViewAttributeDic = [NSDictionary dictionaryWithObject:paragraphStyle forKey:NSParagraphStyleAttributeName];
  textView.typingAttributes  = textViewAttributeDic;
  </code></pre>
  
  <p>text doesn't effected by setting typingAttributes,and I tried to changed the color and font using typingAttributesbut nothing works </p>
  
  <p>i've read all stack answers and documentation </p>
  
  <p>what i'm doing wrong :(</p>
  
  <p><em>update:</em>
  i even tried</p>
  
  <pre><code>UITextView *textView = [[UITextView alloc]initWithFrame:CGRectMake(0, 0, 300, 300)];
  
  NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
  paragraphStyle.minimumLineHeight        = 50.0f;
  paragraphStyle.lineHeightMultiple       = 50.0f;
  paragraphStyle.maximumLineHeight        = 50.0f;
  
  NSDictionary *textViewAttributeDic = [NSDictionary dictionaryWithObject:paragraphStyle forKey:NSParagraphStyleAttributeName];
  textView.attributedText  = [[NSAttributedString alloc] initWithString:@"" attributes:textViewAttributeDic];
  </code></pre>
  
  <p>when I tried </p>
  
  <pre><code>textView.attributedText  = [[NSAttributedString alloc] initWithString:@"blahblah" attributes:textViewAttributeDic];
  </code></pre>
  
  <p>It worked, but i need empty textView with no spaces or 'blah' characters</p>