//显示下划线

//中划线

//        NSDictionary *attribtDic = @{NSStrikethroughStyleAttributeName: [NSNumber numberWithInteger:NSUnderlineStyleSingle]};

//下划线

NSDictionary *attribtDic = @{NSUnderlineStyleAttributeName: [NSNumbernumberWithInteger:NSUnderlineStyleSingle]};

NSMutableAttributedString *attribtStr = [[NSMutableAttributedString alloc]initWithString:oldStrattributes:attribtDic];

oldPriceLabel.attributedText = attribtStr;

最新文章

  1. android 异步加载框架 原理完全解析
  2. C#学习笔记 -- Attribute
  3. 【转】OpenStack和Docker、ServerLess能不能决定云计算胜负吗?
  4. Git平台使用时的配置分析
  5. django - transaction
  6. liger 的 ligerDialog 的使用。
  7. (转)linux 技巧:使用 screen 管理你的远程会话
  8. inux 安装中文支持包及中文字符集配置 +i18n
  9. VS2010断点无效
  10. BZOJ 1010: [HNOI2008]玩具包装toy
  11. js、jquery的入口函数及其执行与图片加载的先后顺序
  12. Commons Codec基本使用(转载)
  13. async await Task
  14. GNU C 扩展之__attribute__ 机制简介
  15. 使用jitpack来获取github上的开源项目
  16. Google Guava的5个鲜为人知的特性
  17. SQL Server 更新统计信息出现严重错误,应放弃任何可能产生的结果
  18. LIS的O(nlogn)算法
  19. C#中 Reference Equals, == , Equals的区别
  20. redis 版的 hello world

热门文章

  1. 集成支付宝报一堆warning: (arm64) /Users/scmbuild/workspace/standard-pay/.....警告问题解决办法亲测可行!
  2. javascript之事件详解2
  3. python中的“引用”和C++的引用
  4. VMware虚拟机中如何安装VMWare-Tools详解
  5. [Lua]基于cc.load('mvc') .ViewBase索引资源方案
  6. CSS3—CSS3和现代Web设计
  7. line-height行高使用技巧
  8. 利用XPath解析带有xmlns的XML文件
  9. myeclipse 项目运行时报错:运行项目时报错:Could not publish server configuration for Tomcat v6.0 Server at localhost. Multiple Contexts have a"/"
  10. 2016022608 - redis字符串命令集合