-
Notifications
You must be signed in to change notification settings - Fork 0
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] #206 - 알림 권한 요청 다이얼로그 구현 #209
Conversation
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, | ||
let window = windowScene.windows.first { | ||
let tabBarController = TabBarController() | ||
let navigationController = UINavigationController(rootViewController: tabBarController) | ||
navigationController.isNavigationBarHidden = true | ||
window.rootViewController = navigationController | ||
window.makeKeyAndVisible() |
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.
#193 액세스 토큰 로직처리하면서 SceneDelgate에 changeRootViewControllerTo
메서드를 만들어뒀어여! #193 머지 후에 아래와 같이 변경해도 좋을 것 같아욤 :)
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, | |
let window = windowScene.windows.first { | |
let tabBarController = TabBarController() | |
let navigationController = UINavigationController(rootViewController: tabBarController) | |
navigationController.isNavigationBarHidden = true | |
window.rootViewController = navigationController | |
window.makeKeyAndVisible() | |
SceneDelegate.shared?.changeRootViewControllerTo(TabBarController()) |
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.
헉 감사합니다!! #193 머지 후 수정하겠습니다 :)
} | ||
|
||
func requestNotification() { | ||
// UNUserNotificationCenter.current().delegate = self |
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.
사용하지 않는 코드 지워주세욤 :)
🫧 작업한 내용
🔫 PR Point
🥲
📸 스크린샷
KakaoTalk_Video_2023-11-23-21-14-59.mp4
📮 관련 이슈