private void onTextFieldInfo(TextFieldInfo textFieldInfo) { var attributedText = textFieldInfo.AsAttributedTextAndCursorPosition(); if (DescriptionTextView.AttributedText.GetHashCode() == attributedText.GetHashCode()) { return; } //This line is needed for when the user selects from suggestion and // the iOS autocorrect is ready to add text at the same time. // Without this line both will happen. DescriptionTextView.InputDelegate = emptyInputDelegate; DescriptionTextView.AttributedText = attributedText; DescriptionTextView.RejectAutocorrect(); updatePlaceholder(); }