水印
//加载图片
UIImage *image = [UIImage imageNamed:@"阿狸头像.png"];
//0、获取上下文
UIGraphicsBeginImageContextWithOptions(image.size, NO, 0);
//1、绘制原生的图片
[image drawAtPoint:CGPointZero];
//2、给原生的图片添加文字
NSString *str = @"xxxxxx";
[str drawAtPoint:CGPointMake(100, 100) withAttributes:nil];
//3、生成一张图片,从上下文中获取图片
UIImage *water = UIGraphicsGetImageFromCurrentImageContext();
//4、关闭上下文
UIGraphicsEndImageContext();
_imageview.image = water;