Skip to content
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

merge :: 공통적으로 쓰일 backButton config하는 extension #49

Merged
merged 3 commits into from
Oct 17, 2022

Conversation

baekteun
Copy link
Member

@baekteun baekteun commented Oct 16, 2022

개요

공통적으로 쓰일 backButton config하는 extension

작업사항

  • configBackButton extension 추가
  • navigationBarBackButtonHidden을 true로 하기에 swipeGesture로는 뒤로가기를 실행할 수 없기에 이를 해결하는 UINavigationController extension 작업

사용방법

@Environment(\.dismiss) var dismiss
VStack {

}
.dmsBackButton(dismiss: dismiss)

@baekteun baekteun added the ✨feat 새로운 기능을 추가 할 경우 label Oct 16, 2022
@baekteun baekteun self-assigned this Oct 16, 2022
@baekteun baekteun requested a review from sian7563 as a code owner October 16, 2022 04:28
@baekteun baekteun merged commit b5542a8 into develop Oct 17, 2022
@baekteun baekteun deleted the 48-global-backbutton-config-view-modifier branch October 17, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨feat 새로운 기능을 추가 할 경우
Projects
None yet
Development

Successfully merging this pull request may close these issues.

공통적으로 쓰이는 backButton을 구성하는 view extension 추가
3 participants