title: Disable autocorrect UITextView
body: <p>Does anyone know how to disable autocorrect programming in uitextview? I have the following code, but it doesn't work.</p>
  
  <pre><code>- (void)_setUpTextView {
      self.textView = [[UITextView alloc] initWithFrame:self.bounds];
      self.textView.accessibilityLabel = @"CommentTextView";
      self.textView.translatesAutoresizingMaskIntoConstraints = NO;
      [self.textView setFont:[[AppearanceManager sharedManager] brightenFontWithSize:26.0f]];
      [self.textView.layer setCornerRadius:5.0f];
      self.textView.delegate = self;
      self.textView.autocorrectionType = FALSE; // or use  UITextAutocorrectionTypeNo
      self.textView.autocapitalizationType = UITextAutocapitalizationTypeNone;
      [self addSubview:self.textView];
  }
  </code></pre>