[TIL/SwiftUI] PopupView 사용기
설치
SPM으로 설치를 진행했다.
dependencies: [
.package(url: "https://github.com/exyte/PopupView.git")
]
사용
view에서 다음과 같이 .popup modifier를 활용하면 된다.
popup(isPresented:view:customize:)
isPresented : Bool 값으로 해당 팝업을 보여줄지 설정하기 위해 사용한다. view : 팝업으로 사용할 view를 넣...
studio-pendant.hashnode.dev3 min read