         textField.autocapitalizationType = .none
         textField.keyboardType = .asciiCapable
         textField.isSecureTextEntry = true
+        if #available(iOS 11,*) {
+            textField.textContentType = .password
+        }
     }
 }
 

        textField.autocorrectionType = .no
        textField.autocapitalizationType = .none
        textField.keyboardType = .URL
    }
}


        textField.autocorrectionType = .no
        textField.autocapitalizationType = .none
        textField.keyboardType = .asciiCapable
        if #available(iOS 11,*) {
            textField.textContentType = .username
        }
    }
}

