图文结合
来源:互联网 发布:万象域名 编辑:程序博客网 时间:2024/06/11 16:14
// 添加表情 NSTextAttachment *attch = [[NSTextAttachment alloc] init]; // 表情图片 attch.image = [UIImage imageNamed:@"图片"]; // 设置图片大小 attch.bounds = CGRectMake(0, 0, 32, 32); // 创建带有图片的富文本 NSAttributedString *string = [NSAttributedString attributedStringWithAttachment:attch]; [attri appendAttributedString:string]; // 用label的attributedText属性来使用富文本 self.textLabel.attributedText = attri;
0 0
- 图文结合
- 图文结合
- 动态图文结合
- android 图文结合
- Servlet实现动态图文结合输出
- sass结合compass使用(图文)
- 用UIButton实现各种图文结合功能
- Servlet 实现动态图文结合输出
- springmvc结合xheditor实现图文编辑
- 公钥,私钥和数字签名 图文结合
- VS 搭建三层架构(图文结合)
- 史上最全CentOS安装教程,图文结合
- jquery实现类似以前凡客诚品右侧图文切换结合效果
- android 图文结合,使用SpannableString和ImageSpan类
- Android 图文结合,使用SpannableString和ImageSpan类
- android 图文结合,使用SpannableString和ImageSpan类
- 在SQL Server 2005 中开启SSL(图文结合)
- 关于MVC4.0 WebAPI上传图片重命名以及图文结合
- 2016/10/30
- 51nod 1202
- P1816统计数字
- 51nod算法马拉松19总结
- vue.js 计算属性$watch
- 图文结合
- Yii2.0增删改查
- Pointers on C 重点笔记 第三章
- VC_GPIB_Demo
- LeetCode 167 Two Sum II - Input array is sorted (两点法)
- 1069. The Black Hole of Numbers
- 判断一个数字是否为质数。
- eclipse使用mybatis做查询时条件有汉字的不能执行成功
- 树莓系统安装+网络(杂记)