-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat] #430 - 마이페이지 로그아웃, 애플/카카오 회원탈퇴 및 서버연결 #440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감삼다감삼다.. 수고가 많으시고 항상 고맙고... 그럽니다.. 💐
private func unlink() { | ||
UserDefaults.standard.removeObject(forKey: Const.UserDefaultsKey.accessToken) | ||
UserDefaults.standard.removeObject(forKey: Const.UserDefaultsKey.userID) | ||
UserDefaults.standard.removeObject(forKey: Const.UserDefaultsKey.isAppleLogin) | ||
|
||
guard let loginVC = UIStoryboard(name: Const.Storyboard.Name.login, bundle: nil).instantiateViewController(withIdentifier: Const.ViewController.Identifier.login) as? LoginVC else { return } | ||
loginVC.modalPresentationStyle = .overFullScreen | ||
loginVC.modalTransitionStyle = .crossDissolve | ||
present(loginVC, animated: true, completion: nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오호 애플은 이렇게 연결해주는군여.. 오케케..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
애플이 이렇게 연결한다기보다는 unlink 메서드에 Userdefaults 삭제해주구요! 로그인뷰컨으로 이동시켜줬습니당! 왜냐면 애플은 카카오와같이 unlink api 가 있는게 아니라 앱내에서 서비스연결끊기를 지원하지 않아용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감삼당! 오늘 너무 바빠서 나중에 다시 코드 읽어볼게염...
🔥Pull requests
⛳️ 작업한 브랜치
👷 작업한 내용
🚨참고 사항
📸 스크린샷
📟 관련 이슈