会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shao621
博客园
首页
新随笔
联系
订阅
管理
2016年8月17日
p12文件转pen文件
摘要: 今天做百度推送要求用pem,之前用的激光推送用的p12,研究了一会怎么把p12文件转成pem文件,废话不多说上代码。 1 分别倒出证书的p12和key的p12 分别倒出devp12.p12 (证书) devkeyp12.p12(key) 2 p12转pem 打开终端 1 openssl pkcs12
阅读全文
posted @ 2016-08-17 15:01 shao621
阅读(262)
评论(0)
推荐(0)
2016年3月15日
cell的下划线对齐显示
摘要: //使cell的下划线顶头, (void)tableView:(UITableView )tableView willDisplayCell:(UITableViewCell )cell forRowAtIndexPath:(NSIndexPath )indexPath { if ([cell re
阅读全文
posted @ 2016-03-15 17:51 shao621
阅读(233)
评论(0)
推荐(0)
ios 根据字符串中的逗号分行显示
摘要: //自动计算高宽 (CGSize)sizeWithText:(NSString )text font:(UIFont )font maxSize:(CGSize)maxSize { NSDictionary attrs = @{NSFontAttributeName : font}; return
阅读全文
posted @ 2016-03-15 11:32 shao621
阅读(565)
评论(0)
推荐(0)
2016年3月9日
textfield 和textview回收键盘的简单方法
摘要: textfield键盘回收 和 textview键盘回收 方法
阅读全文
posted @ 2016-03-09 08:52 shao621
阅读(212)
评论(0)
推荐(0)
2016年3月2日
改变textfield中placeholder字体大小和颜色的方法
摘要: 写项目偶遇改变textfield的placeholer字体颜色和大小,不想自定义textfield就搜了一下,感觉这个方法很实用,就随手记下了 self.textField.placeholder=@"请输入支付密码"; //改变颜色 [self.textField setValue:[UIColo
阅读全文
posted @ 2016-03-02 14:25 shao621
阅读(434)
评论(0)
推荐(0)
2016年1月27日
cell 下划线左对齐的问题
摘要: cell 下划线左对齐
阅读全文
posted @ 2016-01-27 11:40 shao621
阅读(250)
评论(0)
推荐(0)
2016年1月8日
UIAlertController 的简单使用方法
摘要: UIAlertController 的简单使用方法
阅读全文
posted @ 2016-01-08 12:03 shao621
阅读(162)
评论(0)
推荐(0)
2016年1月7日
NSObject 模态问题
摘要: NSObject 模态问题
阅读全文
posted @ 2016-01-07 14:50 shao621
阅读(115)
评论(0)
推荐(0)
2015年12月29日
iOS 跳转系统设置
摘要: iOS 跳转系统设置
阅读全文
posted @ 2015-12-29 13:16 shao621
阅读(158)
评论(0)
推荐(0)
2015年8月21日
多线程的简单应用
摘要: 全局并发队列//添加touch事件显示图片-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ //1获得主队列 线程之间的通讯 //异步并行 dispatch_async(dispatch_get_glo...
阅读全文
posted @ 2015-08-21 19:00 shao621
阅读(159)
评论(0)
推荐(0)
下一页
公告