Latest 1.1.2
Homepage https://github.com/songyutao/YTGifView
License MIT
Platforms ios 7.0, requires ARC
Dependencies YTTool
Frameworks UIKit
Authors

custom view used to display gif file

Examples:

self.gifView = [[YTGifView alloc] initWithGifURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"test" ofType:@"gif"]]];
self.gifView.frame = CGRectMake(50, 100, 200, 200);
[self.view addSubview:self.gifView];
[self.gifView startGif];

or

YTGifView *urlGifView = [[YTGifView alloc] initWithGifURL:[NSURL URLWithString: @"http://yueme.oss-cn-hangzhou.aliyuncs.com/gift/blessing.gif"]];
urlGifView.frame = CGRectMake(50, 300, 200, 300);
[self.view addSubview:urlGifView];
[urlGifView startGif];

Features

  • file play support
  • url play support

Latest podspec

{
    "name": "YTGifView",
    "platforms": {
        "ios": "7.0"
    },
    "version": "1.1.2",
    "license": "MIT",
    "summary": "custom view used to display gif file",
    "homepage": "https://github.com/songyutao/YTGifView",
    "authors": {
        "u5b8bu7389u6d9b": "[email protected]"
    },
    "source": {
        "git": "https://github.com/songyutao/YTGifView.git",
        "tag": "1.1.2"
    },
    "source_files": "YTGifView/YTGifView",
    "frameworks": [
        "UIKit"
    ],
    "dependencies": {
        "YTTool": []
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This