Skip to content

[#325] iOS 26.4 이상에서 내비게이션 헤더가 보이지 않는 현상을 해결한다#326

Merged
opficdev merged 1 commit intodevelopfrom
fix/#325-Navigation-Header
Mar 28, 2026
Merged

[#325] iOS 26.4 이상에서 내비게이션 헤더가 보이지 않는 현상을 해결한다#326
opficdev merged 1 commit intodevelopfrom
fix/#325-Navigation-Header

Conversation

@opficdev
Copy link
Copy Markdown
Owner

@opficdev opficdev self-assigned this Mar 28, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

이 풀 리퀘스트는 TodoListView.swift의 GeometryReader 내에서 headerHeight에 1을 더해 높이를 보정하는 변경 사항을 포함합니다. 리뷰어는 코드 내 잘못 기입된 iOS 버전(26.0)을 올바르게 수정할 것과, 매직 넘버 1 대신 의미 있는 상수를 사용하여 가독성을 개선할 것을 제안했습니다.

Comment on lines +306 to +309
headerHeight = geometry.size.height + 1
}
.onChange(of: geometry.size.height) { _, height in
headerHeight = height
headerHeight = height + 1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

두 가지 점을 제안합니다.

  1. (Critical) PR 제목과 코드 주석에서 'iOS 26.4'를 언급하고 있으나, 코드에서는 iOS 26.0으로 버전 분기를 하고 있습니다. iOS 26.0은 존재하지 않는 버전으로, iOS 16.0 또는 iOS 16.4의 오타로 보입니다. 이로 인해 해당 수정 사항이 의도한 iOS 버전에서 적용되지 않는 버그가 발생할 수 있으므로 올바른 버전으로 수정해야 합니다.

  2. (Medium) 가독성과 유지보수성을 위해 매직 넘버 1을 사용하는 대신, headerHeightAdjustment와 같이 의미를 명확히 나타내는 상수로 정의하는 것을 고려해 보세요. 이 값을 통해 왜 높이 조정이 필요한지에 대한 컨텍스트를 코드 자체에 부여할 수 있습니다.

@opficdev opficdev merged commit d86d33e into develop Mar 28, 2026
1 check passed
@opficdev opficdev deleted the fix/#325-Navigation-Header branch March 28, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS 26.4 이상에서 내비게이션 헤더가 보이지 않는 현상을 해결한다

1 participant