iOS & Swift 공부 - Logging out users through Firebase

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

iOS & Swift

목록 보기
51/107
post-thumbnail

Logging out Users


  • Add a BarButtonItem in the View Controller where you want the user to Log out

  • Go check the Firebase Documents and see what code needs to be implemented to log out users.

  • Copy and paste the code to where you need your user logged out

→ In my case, I want the user to log out when a certain button is pressed.

  • Add codes to pop the current view controller and return to the root view controller

profile
맛있는 iOS 프로그래밍

1개의 댓글

comment-user-thumbnail
2021년 1월 28일

What a note!

답글 달기