会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
PJXWang
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2016年3月21日
给属性字符串添加下划线
摘要: NSString *text = @"Privacy Policy."; NSMutableAttributedString * attributedText = [[NSMutableAttributedString alloc] initWithString: text]; NSRange ra
阅读全文
posted @ 2016-03-21 16:15 PJXWang
阅读(491)
评论(0)
推荐(0)
编辑
检测程序是否打开
摘要: -(void)awakeFromNib NSArray* apps = [NSRunningApplication runningApplicationsWithBundleIdentifier:@"com.apple.iTunes"]; if (apps && apps.count) { for
阅读全文
posted @ 2016-03-21 16:07 PJXWang
阅读(383)
评论(0)
推荐(0)
编辑