Machina
Machina

Reputation: 242

How to use UITextField exclusively for appearance

Screen

Hello. I am using UITextField as a backdrop for some UILabels. It might not be the most practical way of using a backdrop but I'm using it anyway because it looks nice.

Question: is it possible to make the UITextField non-interact able? I don't want the keyboard popping up when clicking it, I just want it there for display purposes.

Upvotes: 0

Views: 36

Answers (1)

BP.
BP.

Reputation: 10083

Look into the "User Interaction Enabled" check box in Interface builder, or set the userInterfaceEnabled property in code for your text field.

Upvotes: 1

Related Questions