IOS: UItextfield disabled

后端 未结 2 540
感动是毒
感动是毒 2021-01-12 13:03

When we push on a textfield, a cursor appear in this textfield; but I don\'t want that this cursor appear; then I want make this textfield disabled, where you can\'t write i

2条回答
  •  时光取名叫无心
    2021-01-12 13:27

    If you're working with storyboards or .nib files and you want it to start out disabled you can also easily uncheck the enabled property in interface builder for some time-saving.

提交回复
热议问题