您的位置:首页 > 其它

sdwebimage加载本地图片

2017-07-14 14:22 1021 查看
 UIImageView *imgv = [[UIImageView alloc] initWithFrame:CGRectMake(-4,-7.84, 54, 34)];

    NSString *SuperBgImgPath = [[NSBundle mainBundle] pathForResource:@"kxmovieSuperPersonLOginBgImg" ofType:@"gif"];

    [imgv sd_setImageWithURL:[NSURL fileURLWithPath:SuperBgImgPath]];

    [_superManBgView addSubview:imgv];

    imgv.layer.cornerRadius = imgv.frame.size.height/2;
    imgv.layer.masksToBounds = YES;

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: