https://github.com/YouZhiZheShiJingCheng/YZwebp
TARGETS->Build Settings->Other Linker Flags 添加一个 -ObjC
UIImageView* imageUiv=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0,60, 60)];
imageUiv.image = [UIImage imageWithWebP:@"WEBP图片的名字加后缀就可以了"];
[self.imgView addSubview:imageUiv];