TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Jun 2017 |
Maintained by Nanda Ballabh.
Click and choose Photo and provides the cropping feature using RSKImageCropper libraryFor
pod 'NBPhotoLibrary' to add to podfile
Code Example #import "PhotoLibraryManager.h" Add Delegate PhotoLibraryManagerDelegate Add below line to use lib
PhotoLibraryManager * photoLibrary = [PhotoLibraryManager instance];
photoLibrary.delegate = self;
photoLibrary.controller = self;
[photoLibrary openPhotoLibrary];
We can user PhotoLibraryManagerDelegate method for usages
- (void)photoLibraryImageCropController:(RSKImageCropViewController *)controller didCropImage:(UIImage *)croppedImage usingCropRect:(CGRect)cropRect {
self.imageView.image = croppedImage;
}