Latest 1.2.1
Homepage https://github.com/wubianxiaoxian/SKFPicPreview
License MIT
Platforms ios 8.0
Dependencies SDWebImage
Frameworks UIKit
Authors

CI Status
Version
License
Platform

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.

Latest podspec

{
    "name": "SKFPicPreview",
    "version": "1.2.1",
    "summary": "This is a preview of the libraryn.",
    "description": "This is a preview of the library xxxxx.",
    "homepage": "https://github.com/wubianxiaoxian/SKFPicPreview",
    "screenshots": "http://i1.piimg.com/4851/5d56f5cddbcff4df.gif",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wubianxiaoxian": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wubianxiaoxian/SKFPicPreview.git",
        "tag": "1.2.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SKFPicPreview/Classes/**/*",
    "resource_bundles": {
        "SKFPicPreview": [
            "SKFPicPreview/Assets/*"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This