简体   繁体   中英

UITextView font Issue in iOS 6

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.

UITextfield旨在用于单行文本,如果您想要多行,请使用UITextview。

可能是因为您在UITextField adjustsFontSizeToFitWidth设置为YES。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM