SKFPicPreview 1.2.1

SKFPicPreview 1.2.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2017

Maintained by skf6272..




  • By
  • wubianxiaoxian

Example

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

Requirements

  • Xcode 6 or higher
  • iOS 7.0 or higher
  • ARC

Installation

  • SKFPicPreview is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SKFPicPreview"
  • 或者下载demo到本地将SKFPicPreview添加到工程,引入
#import "SKFPreViewNavController.h"

按照下面的方法使用

  • 预览网络图片
SKFPreViewNavController *imagePickerVc =[[SKFPreViewNavController alloc]initWithSelectedPhotoURLs:self.Photosurlary index:indexPath.row];

[self presentViewController:imagePickerVc animated:YES completion:nil];

*预览本体图片

SKFPreViewNavController *imagePickerVc = [[SKFPreViewNavController alloc] initWithSelectedPhotos:_selectedPhotos index:indexPath.row DeletePic:YES];

[imagePickerVc setDidFinishDeletePic:^(NSArray<UIImage *> *photos) {   }];

[self presentViewController:imagePickerVc animated:YES completion:nil];

Author

wubianxiaoxian, [email protected]

License

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