简体   繁体   中英

Swift- Setting uitextview text compress the text size

In iOS 8 on iPad device, i tried to set UITextView text in Code file. It just compresses the text size. Event i have tried this one.

myTextView.text = myTextView.text

It also compressed the text size. I don't know why UITextview is behaving like this in iOS 8

OR is this because XCode-6 is of Beta version and may have bugs?

OMG! I can't believe it. I've disabled the UITextView's Selectable propery in Interface Builder. When i enabled it again. It just resolved the issue.

Although, i have resolved the issue, but it has left a question for me. Is this Apple's issue or of something else?

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