An open API service indexing awesome lists of open source software.

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.

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

SwiftyImagePicker Sample Video.mov

> 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...