OMGImagePicker 1.0.1

OMGImagePicker 1.0.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Jan 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by lintao.



  • By
  • NSObjects

OMGImagePicker

ImagePickerView

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Usage

import OMGImagePicker

present(omg_present: self, delegate: self)

OMGImagePickerViewController has three delegate methods that will inform you what the users are up to:

func imagePickerViewController(vc:OMGImagePickerViewController,didFinishPickingWith assets:PHFetchResult<PHAsset>)
func imagePickerViewControllerDidCancel(vc:OMGImagePickerViewController)
func userDeniedAuthPhotosView(imagePickerViewController:OMGImagePickerViewController)->UIView?

Configuration

var setting = OMGImagePickerSetting()
setting.rightBarTitle = "Continue"
setting.maxNumberOfSelection = 5
present(omg_present: self, delegate: self,setting:setting)
 setting.navigationBarColor = UIColor.brown
 setting.navigationBarTranslucent = false

disable

setting.navigationBarTranslucent = true

enable

Requirements

  • Swift3
  • iOS8.0

Author

NSObjects, [email protected]

License

OMGImagePicker is available under the MIT license. See the LICENSE file for more info.