图片添加水印,文本无倾斜
// MARK:图片添加水印
+ (UIImage *)addWatermarketWithOriginImage:(UIImage *)originImage WaterText:(NSString *)waterText{
UIGraphicsBeginImageContextWithOptions(originImage.size, NO, 0);
// 绘制图片
[originImage drawInRect:CGRectMake(0, 0, originImage.size.width, originImage.size.height)];
// 添加水印
if (waterText.length > 0) {
NSDictionary *attributedDic // MARK:图片添加水印
+