右滑返回功能消失
清空代理就可以了
self.interactivePopGestureRecognizer.delegate = nil;
UILable显示图片
NSTextAttachment *attch = [[NSTextAttachment alloc] init];
// 表情图片
attch.image = [UIImage imageNamed:@"video_new"];
// 设置图片大小
attch.bounds = CGRectMake(5, 5, 20, 12);
// 创建带有图片的富文本
NSAttributedString *string = [NSAttributedString attributedStringWithAttachment:attch];
[attri insertAttributedString:string atIndex:model.Title.length];
self.title.attributedText = attri;
网友评论