[#193] iOS 17에서 PushNotificationListView의 내비게이션바가 inline이 안되는 현상을 해결한다#196
[#193] iOS 17에서 PushNotificationListView의 내비게이션바가 inline이 안되는 현상을 해결한다#196
Conversation
opficdev
commented
Mar 6, 2026
- closed iOS 17에서 PushNotificationListView의 내비게이션바가 inline이 안되는 현상을 해결한다 #193
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 Pull Request는 주로 iOS 17에서 PushNotificationListView의 내비게이션 바가 예상대로 인라인으로 표시되지 않던 문제를 해결합니다. NavigationBarConfigurator에 alwaysVisible 옵션을 도입하여 일관된 배경 가시성을 보장합니다. 또한, PushNotificationListView는 더 나은 코드 구성을 위해 리팩토링되었으며, iOS 18에 대한 조건부 UI 조정이 포함되어 있습니다. 다른 뷰에서는 사소한 스타일 변경도 이루어졌습니다. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
이 PR은 iOS 17에서 PushNotificationListView의 내비게이션 바가 inline으로 변경되지 않는 문제를 해결하고 있습니다. NavigationBarConfigurator를 수정하여 scrollEdgeAppearance를 조건부로 설정함으로써, 스크롤이 최상단에 있을 때도 내비게이션 바 배경이 유지되도록 변경한 점이 좋습니다. 전반적인 변경 사항은 훌륭하지만, PushNotificationListView 리팩토링 과정에서 iOS 18 미만 버전에 대해 수평 스크롤뷰가 제거되어 UI가 깨질 수 있는 잠재적 회귀(regression)를 발견했습니다. 또한 코드 가독성 향상을 위해 지연된 작업에 대한 주석 추가를 제안하는 의견을 남겼습니다.
| headerContent | ||
| .padding(.leading, 16) | ||
| .frame(maxWidth: .infinity, alignment: .leading) |
There was a problem hiding this comment.
iOS 18 미만 버전에서 headerContent가 ScrollView로 감싸여 있지 않아, 필터 버튼들이 많아질 경우 화면을 벗어나 보이지 않게 될 수 있습니다. 이는 이전 버전의 동작에서 벗어난 회귀(regression)로 보입니다. ScrollView로 감싸서 수평 스크롤을 지원해야 합니다.
ScrollView(.horizontal) {
headerContent
.padding(.leading, 16)
}
.scrollIndicators(.never)
.scrollDisabled(!isScrollTrackingEnabled)| DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) { | ||
| isScrollTrackingEnabled = true | ||
| } |
There was a problem hiding this comment.