GFImageFullScreen
示例
要运行示例项目,请克隆仓库,然后从 Example 目录运行 pod install
命令。
需求
安装
GFImageFullScreen 可以通过 CocoaPods 获得。要安装它,只需在 Podfile 中添加以下行
pod 'GFImageFullScreen'
如何使用
#import "GFImageFullScreen.h"
[GFImageFullScreen showFromImageView:_image];
设置
// image
[GFImageFullScreen setCornerRadius:-1];
[GFImageFullScreen setBackgroundColor:[UIColor clearColor]];
[GFImageFullScreen setMargin:20];
// border
[GFImageFullScreen setBorderColor:[UIColor whiteColor]];
[GFImageFullScreen setBorderWidth:4];
作者
guidosette, [email protected]
许可
GFImageFullScreen 在 MIT 许可证下可用。更多信息请参阅 LICENSE 文件。