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

一个能点击查看图片的WebView,支持左右滑动。

Pod支持:

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

用法简介

1:直接下载的就将将文件夹LGPWebView拖进项目,导入头文件LGPWebView.h
2:代码演示

    LGPWebView *webView = [LGPWebView new];
    webView.frame = self.view.frame;
    [self.view addSubview:webView];

    webView.backImage = [UIImage imageNamed:@"fanhui"];
    webView.headRightImage = [UIImage imageNamed:@"dian2"];

    NSURL *url = [NSURL URLWithString:@"http://test.yysw2015.com/news_2/359"];
    [webView loadRequest:[NSURLRequest requestWithURL:url]];

Latest podspec

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

Pin It on Pinterest

Share This