As per the documentation for UITextField it implements the UITextInputTraits protocol. The UItextInputTraits protocol defines the secureTextEntry property.
it is solve. but now i have a class "myView : uiview" and now i want use UItextFieldDelegate for call textFieldShouldReturn that get string of text field.
Do you know what do?