Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

UITextField iOS12

845 views

Published on

to kyoto dev cafe #2
https://kyoto-dev-cafe.connpass.com/event/89875/

Published in: Technology
  • Be the first to comment

  • Be the first to like this

UITextField iOS12

  1. 1. iOS12 UITextContentType KyotoDevCafe 2018/06/15 @m_orishi
  2. 2. • (@m_orishi) • iOS
  3. 3. ( 💕)
  4. 4. • NDA Xcode 10 iOS 12 • 
 https://developer.apple.com/videos/play/wwdc2018/204/
  5. 5. UITextContentType • iOS12 2
  6. 6. textContentType = .oneTimeCode
  7. 7. .oneTimeCode is • 2 SMS
  8. 8.
  9. 9. .oneTimeCode let secureCodeTextField = UITextField() secureCodeTextField.textContentType = .oneTimeCode
  10. 10. SMS
  11. 11. textContentType = .newPassword
  12. 12. . newPassword is • •
  13. 13. . newPassword let userNamewordTextField = UITextField() userNameTextField.textContentType = .username let newPasswordTextField = UITextField() newPasswordTextField.textContentType = .newPassword
  14. 14. let newPasswordTextField = UITextField() let rule = "required: lower; required: upper; required: digit; required: [-]; minlength: 20;” newPasswordTextField.passwordRules = UITextInputPasswordRules(descriptor: rule)
  15. 15. • Web 
 https://developer.apple.com/password-rules/
  16. 16. • userName newPassWord • userName Read-Only ( ) ※
  17. 17. • https://developer.apple.com/videos/play/ wwdc2018/204/ • https://developer.apple.com/ documentation/security/password_autofill/ enabling_password_autofill_on_a_text_input _view?changes=latest_minor
  18. 18. Thank you 💖

×