UITextView - setting font not working with iOS 6 on XCode 5

后端 未结 12 1761
旧时难觅i
旧时难觅i 2020-11-27 16:14

I\'m using storyboards for my UI. I was previously using XCode 4.6 and released on iOS 6. I have since updated to iOS 7 using XCode 5 and updated the Storyboard to work nice

12条回答
  •  醉话见心
    2020-11-27 16:22

    Thank you for all the answers guys. Issue is still present on iOS9. What i've found out, is that when you set "User Interaction Enabled = false" in the Interface Builder you can leave Editable and Selectable = true and user will not be able to edit a text view.

    So, my solution is:

    1. Set User Interaction Enabled = False in IB
    2. Set Editable = True in IB
    3. Set Selectable = True in IB
    4. Configure your text view in whatever way you want.

提交回复
热议问题