3

If any string assigned to UITextView and string contain "\n" then UITextView font changes randomly. means font size changing.

This issue occurring me on only iOS 6. same code working on iOS 5.

Popat Shirsath
  • 141
  • 1
  • 1
  • 7

2 Answers2

0

UITextfield is intended to be used for single line text, if you want multi-line, use UITextview.

MuhammadBassio
  • 1,590
  • 10
  • 13
0

Probably because you have adjustsFontSizeToFitWidth set to YES on your UITextField.

AliSoftware
  • 32,623
  • 6
  • 82
  • 77