Skip to content

Commit

Permalink
⚡️ :: 이미지 픽커 수정
Browse files Browse the repository at this point in the history
BJCHO0501 committed Aug 29, 2023
1 parent 6d650e6 commit 64cdf97
Showing 1 changed file with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
import SwiftUI

public extension View {
func sdPhotoPicker(isPresented: Binding<Bool>, selection: Binding<[UIImage]>) -> some View {
self.modifier(SDPhotoPickerModifier(isPresented: isPresented, selection: selection))
func sdPhotoPicker(isPresented: Binding<Bool>, selection: Binding<[UIImage]>, errorAction: (() -> Void)?) -> some View {
self.modifier(SDPhotoPickerModifier(
isPresented: isPresented,
selection: selection,
errorAction: errorAction
))
}
func sdPhotoPicker(isPresented: Binding<Bool>, selection: Binding<UIImage>) -> some View {
self.modifier(SDPhotoPickerModifier(isPresented: isPresented, selection: selection))
func sdPhotoPicker(isPresented: Binding<Bool>, selection: Binding<UIImage>, errorAction: (() -> Void)?) -> some View {
self.modifier(SDPhotoPickerModifier(
isPresented: isPresented,
selection: selection,
errorAction: errorAction
))
}
}

0 comments on commit 64cdf97

Please sign in to comment.