TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jan 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by lintao.
To run the example project, clone the repo, and run pod install
from the Example directory first.
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?
var setting = OMGImagePickerSetting()
setting.rightBarTitle = "Continue"
setting.maxNumberOfSelection = 5
present(omg_present: self, delegate: self,setting:setting)
setting.navigationBarColor = UIColor.brown
setting.navigationBarTranslucent = false
setting.navigationBarTranslucent = true
NSObjects, [email protected]
OMGImagePicker is available under the MIT license. See the LICENSE file for more info.