-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Fix] #261 - 햄버거바 로그인 관련 수정 #262
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.
수고하셨습니다~ 수정후 머지 부탁드려요!
@@ -442,7 +442,7 @@ extension HamburgerBarVC { | |||
|
|||
[needLoginButton, needLoginImageButton].forEach { | |||
$0.press { | |||
self.presentSocialLoginAlert() | |||
self.pushSocialLoginVC() |
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.
p3;
전달이 잘못 된 것 같은데 새로운 내비게이션 컨트롤러를 present하는 방식으로 해주세용~~! modalTransition은 crossDisolve로 하면 될 것 같습니당
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.
self.pushSocialLoginVC() | |
private func presentSocialLoginVC() { | |
let loginVC = ModuleFactory.resolve().makeLoginVC() | |
loginVC.modalTransitionStyle = .crossDissolve | |
loginVC.modalPresentationStyle = .fullScreen | |
self.present(loginVC, animated: true) | |
} |
새로운 네비게이션을 present 한다는게 그냥 이런식으로 present 하는 게 맞는 걸까요 ? ?
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.
let rootViewController = ModuleFactory.resolve().makeSplashVC()
let navigation = UINavigationController(rootViewController: rootViewController)
navigation.modalTransitionStyle = .crossDissolve
navigation.modalPresentationStyle = .fullScreen
self.present(navigation, animated: true)
UINavigationController도 ViewController의 SubClass이기 때문에 이런식으로 띄워주면 됩니다!
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.
30b3aa5
화긴화긴요~ 수고하셨슴당
🔥 Pull requests
⛳️ 작업한 브랜치
👷 작업한 내용
로그인이 필요해요 버튼 변경했습니다.
기존 로그인 알림창 나타나는 방식에서 로그인 화면으로 넘어가도록 수정했습니다.
🚨 참고 사항
navigationController push로 넘어가도록 설정했는데 화면 전환 자연스러운지 봐주세요 ~!
📸 스크린샷
default.mov
📟 관련 이슈