Skip to content

marcorcb/SwiftSimplePhotoPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftSimplePhotoPicker

Twitter: @marcorcb License

About

SwiftSimplePhotoPicker is a simple image picker, allowing the user to pick a single image from either the camera or photo library.

Usage

Example

SwiftSimplePhotoPicker.shared.showPicker(in: self) { (photo) in
    // Handle the photo picked by the user
}

Installation

Just add the file SwiftSimplePhotoPicker.swift to your project manually.

You should also add these values to your app's Info.plist to tell the user why you need to access the Camera and Photo Library.

<key>NSCameraUsageDescription</key>
<string>Camera usage description</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Photo Library usage description</string>

Author

I'm Marco Braga, I'm on Twitter.

License

SwiftSimplePhotoPicker is licensed under the MIT License.

About

SwiftSimplePhotoPicker is a simple image picker, allowing the user to pick a single image from either the camera or photo library.

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages