iOS & Swift 공부 - Registering New Users through Firebase (영)

김영채 (Kevin)·2021년 1월 27일
0

iOS & Swift

목록 보기
49/107
post-thumbnail

Registering New Users


  • Take a loot at the Firebase documentation. Authentication → iOS → Password Authentication

→ This section will give detailed steps on how to authenticate users using passwords for your app.

  • Go to your console (for your project) : Authentication → Sign-in method → click the edit button

  • Enable the function

  • Go back to the previous Firebase documentation.

→ There will be specific codes you would have to implement.

  • For the method above, we have to provide "email" and "password" as the parameters.

→ Thus we put the method within the IBAction method "registerPressed"

  • Implement the code.

    → Optional chaining required for both email and password because they are UITextField outlets.

  • Test your app and check the console for your Firebase.

profile
맛있는 iOS 프로그래밍

0개의 댓글