A Custom ImagePicker Code with SwiftUI
.
Thanks for Kavsoft!!!😁
VStack {
}
.popupImagePickerView(show: $showImagePicker) { assets in
}
You can use the method func handle(assets:[PHAsset],completion:@escaping ([UIImage])->())
declared in PopupImagePickerViewModel
to handle
PHAsset
to useful UIImage
which is syncronized