https://github.com/shuvokr/swiftyimagepicker
Simple image picker. This iOS swift SDK can pick image to your iOS swift project through gallery & camera.
https://github.com/shuvokr/swiftyimagepicker
2021 2021-projects camera cocoapod google image ios ios-app ios-development ios-sdk ios-swift ios-ui ios11 ios13 photo pod pod-install swift swift5 xcode
Last synced: 12 months ago
JSON representation
Simple image picker. This iOS swift SDK can pick image to your iOS swift project through gallery & camera.
- Host: GitHub
- URL: https://github.com/shuvokr/swiftyimagepicker
- Owner: shuvokr
- License: mit
- Created: 2021-12-29T15:53:24.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-30T09:15:57.000Z (about 4 years ago)
- Last Synced: 2025-04-05T01:24:52.310Z (12 months ago)
- Topics: 2021, 2021-projects, camera, cocoapod, google, image, ios, ios-app, ios-development, ios-sdk, ios-swift, ios-ui, ios11, ios13, photo, pod, pod-install, swift, swift5, xcode
- Language: Swift
- Homepage:
- Size: 106 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftyImagePicker
**[SwiftyImagePicker](https://github.com/shuvokr/SwiftyImagePicker) •
[LICENSE](https://github.com/shuvokr/SwiftyImagePicker/blob/master/LICENSE)**
# 🧐 Project philosophy
> Simple image picker.
>
> This iOS swift SDK can pick image to your iOS swift project through gallery & camara.
https://user-images.githubusercontent.com/12962997/147691062-686496d1-bdd6-4cd0-b635-175b0634b376.mov
## Features
> Pick image from Gallery.
>
> Pick image from Camara.
## Requirements
> Swift
>
> iOS 9.0+
## Installation
```
pod 'SwiftyImagePicker'
```
## How To Use
> pod install
>
> Open SwiftyImagePicker.xcworkspace
>
> Select terget: SwiftyImagePickerExample

> Update your info.plis by
>
> KEY : NSCameraUsageDescription
>
> Value : Use to camara access for take a selfi.
```
import UIKit
import SwiftyImagePicker
class ViewController: UIViewController {
@IBOutlet weak var pickedImageView: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
}
@IBAction func pickImageButtonAction(_ sender: UIButton) {
let imagePik = SwiftyImagePicker()
imagePik.pickImage(self) { image in
DispatchQueue.main.async {
// picked image : process your picked image here
self.pickedImageView.image = image
}
}
}
}
```
#### For MORE details please check the example project. Thanks...