Latest 0.0.6
Homepage https://github.com/LiaoGuopeng/LGPPhotoBrowser
License MIT
Platforms ios 7.0, requires ARC
Dependencies Masonry, SDWebImage
Authors

一个用SDPhotoBrowser改进图片浏览的框架,使用三图复用,适用于大量图片的查看使用。图片支持放大、旋转等。

Pod支持:

支持pod: pod ‘LGPPhotoBrowser’, ‘~> 0.0.4’

使用方法

1:download的话将将文件夹LGPPhotoBrowser拖进项目,导入头文件LGPPhotoBrowser.h
2:代码演示

LGPPhotoBrowser *phot = [[LGPPhotoBrowser alloc]init];
phot.photos = arr3;
phot.tagViewImage = (UIImageView *)tap.view;
phot.titles = @[@"星期一"];
phot.photoImageDelegate = self;
phot.line = tap.view.tag-1000;
[phot.headRightButton setImage:[UIImage imageNamed:@"dian2.png"] forState:UIControlStateNormal];;
[phot.backButtom setImage:[UIImage imageNamed:@"fanhui"] forState:UIControlStateNormal];
[phot show];

Latest podspec

{
    "name": "LGPPhotoBrowser",
    "version": "0.0.6",
    "summary": "The most easy way for autoLayout.    u4e00u4e2au56feu7247u6d4fu89c8uff0cu53efu4ee5u65cbu8f6cu653eu5927uff0cu5de6u53f3u6ed1u52a8",
    "homepage": "https://github.com/LiaoGuopeng/LGPPhotoBrowser",
    "license": "MIT",
    "authors": {
        "guopeng liao": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/LiaoGuopeng/LGPPhotoBrowser",
        "tag": "0.0.6"
    },
    "source_files": "u4e09u56feu590du7528/LGPPhotoBrowser/**/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [
            "~> 1.0.1"
        ],
        "SDWebImage": [
            "~> 3.8.1"
        ]
    }
}

Pin It on Pinterest

Share This