Skip to content

karthironald/SUImagePickerView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SUImagePickerView

Simple UIImagePickerController wrapper for SwiftUI

Usage:

  1. Download the repo
  2. Drag and drop SUImagePickerView.swift file in your project bundle
  3. Presenting camera: SUImagePickerView(sourceType: .camera , image: self.$image, isPresented: self.$shouldPresentImagePicker)
  4. Presenting photo library: SUImagePickerView(sourceType: .photoLibrary , image: self.$image, isPresented: self.$shouldPresentImagePicker)
  5. Check ContentView.swift file for how to present the image picker

Demo Video:

https://youtu.be/C20VuwZE8No

Thanks 👨🏻‍💻

About

Simple UIImagePickerController wrapper for SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages