[#325] iOS 26.4 이상에서 내비게이션 헤더가 보이지 않는 현상을 해결한다#326
Merged
Conversation
Owner
opficdev
commented
Mar 28, 2026
- closed iOS 26.4 이상에서 내비게이션 헤더가 보이지 않는 현상을 해결한다 #325
Comment on lines
+306
to
+309
| headerHeight = geometry.size.height + 1 | ||
| } | ||
| .onChange(of: geometry.size.height) { _, height in | ||
| headerHeight = height | ||
| headerHeight = height + 1 |
Contributor
There was a problem hiding this comment.
두 가지 점을 제안합니다.
-
(Critical) PR 제목과 코드 주석에서 'iOS 26.4'를 언급하고 있으나, 코드에서는
iOS 26.0으로 버전 분기를 하고 있습니다.iOS 26.0은 존재하지 않는 버전으로,iOS 16.0또는iOS 16.4의 오타로 보입니다. 이로 인해 해당 수정 사항이 의도한 iOS 버전에서 적용되지 않는 버그가 발생할 수 있으므로 올바른 버전으로 수정해야 합니다. -
(Medium) 가독성과 유지보수성을 위해 매직 넘버
1을 사용하는 대신,headerHeightAdjustment와 같이 의미를 명확히 나타내는 상수로 정의하는 것을 고려해 보세요. 이 값을 통해 왜 높이 조정이 필요한지에 대한 컨텍스트를 코드 자체에 부여할 수 있습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.