Latest 0.1.0
Homepage https://github.com/anumothuR/HMImagePickerView
License MIT
Platforms ios 9.0
Authors

CI Status
Version
License
Platform

HMImagePickerView

Screenshot

Example

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

Requirements

  • Xcode 8 and above,
  • iOS 8 and above
    Swift 3

Installation

HMImagePickerView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "HMImagePickerView"

Usage

Before using this component, We need to set two privacy settings in info.plist.

  • Privacy – Photo Library Usage Description
  • Privacy – Camera Usage Description

Kindly give the necessary message why we are need to use camara and photo library.

  1. I have added some base code how we can use this component. Import the framework.
import HMImagePickerView
  1. Add a UIView in you xib respective viewcontoller. Change the class name of the UIView to "AMImagePickerView".
    Create a reference in your view controller
   @IBOutlet weak var chooseImageView: AMImagePickerView!
  1. Set the view controller, which one we need to present the camera or Photo Library.
 chooseImageView.viewcontroller = self

Thats all!!!! here you go. Just run your app. :) See the magic. 

Author

anumothuR, [email protected]

License

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

Latest podspec

{
    "name": "HMImagePickerView",
    "version": "0.1.0",
    "summary": "HMImagePickerView is a great component to reduce the effort on integrating UIImagePickerview. Camera and library has been integrated.",
    "description": "SpecnXcode 8+,niOS 10,nSwift 3nnBefore using this component, We need to set two privacy settings in info.plist.nn* Privacy - Photo Library Usage Descriptionn* Privacy - Camera Usage DescriptionnnKindly give the necessary message why we are need to use camara and photo library.nn1. I have added some base code how we can use this component. Import the framework.nn```rubynimport HMImagePickerViewn```nn2. Add a UIView in you xib respective viewcontoller. Change the class name of the UIView to "AMImagePickerView".nCreate a reference in your view controllernn```[email protected] weak var chooseImageView: AMImagePickerView!n```nn3. Set the view controller, which one we need to present the camera or Photo Library.nn```rubynchooseImageView.viewcontroller = selfn```nnThats all!!!! here you go. Just run your app. :) See the magic.",
    "homepage": "https://github.com/anumothuR/HMImagePickerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "anumothuR": "[email protected]l.com"
    },
    "source": {
        "git": "https://github.com/anumothuR/HMImagePickerView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "HMImagePickerView/Classes/**/*",
    "resource_bundles": {
        "HMImagePickerView": [
            "HMImagePickerView/Assets/*.xib"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This