04 2016 档案

摘要:1.购买SSL证书验证(跟https认证一样) 2.iphone 签名.mobileconfig文件 company.mobileconfig 未签名的mobileconfig文件 server.crt 你的服务器SSL证书 server.key 您的私钥 ca-bundle.crt 你的根证书链 阅读全文
posted @ 2016-04-22 16:19 懒懒初阳 阅读(1511) 评论(0) 推荐(0) 编辑
摘要:/** * 弹框提示 */ UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil message:@"我要显示的信息" preferredStyle:UIAlertContro... 阅读全文
posted @ 2016-04-20 10:34 懒懒初阳 阅读(193) 评论(0) 推荐(0) 编辑
摘要:1.获取到手机里面所有的APP包名 2.通过包名去打开应用,这里有个坑。如果说你这个APP正在下载,通过这个去打开。是yes状态,但是实际上这个应用根本没有下载下来。 阅读全文
posted @ 2016-04-14 18:39 懒懒初阳 阅读(6578) 评论(1) 推荐(0) 编辑
摘要:+ (void)startLocalNotification:(NSString *)msg { UILocalNotification *notification = [[UILocalNotification alloc] init]; if (notification!=nil) { NSDate *now=[NSDate new]; ... 阅读全文
posted @ 2016-04-13 15:48 懒懒初阳 阅读(253) 评论(0) 推荐(0) 编辑
摘要:1.新增一个contentView,设置为与滑动视图的父视图等高等宽。 2.利用代码 可以实现表的展示随着滚动视图一起滚动。缺点是没有响应者链。待优化。 阅读全文
posted @ 2016-04-12 15:00 懒懒初阳 阅读(151) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/zhaopenghhhhhh/article/details/16331041 ·UILable是iPhone界面最基本的控件,主要用来显示文本信息。 ·常用属性和方法有: 1、创建 CGRect rect = CGRectMake(100, 200, 50 阅读全文
posted @ 2016-04-12 14:40 懒懒初阳 阅读(170) 评论(0) 推荐(0) 编辑
摘要:1.这个等于堵死了调试断点。关闭就不能断点调试了。 2.对于敏感的函数名要做一个对称加密处理。 防止二进制文件的静态扫描。 3.对于调用私有函数的方法,可以做一个宏定义包装。 #define 你的正常名称 随便一个函数名(切记不能与工程中的函数有重叠)。防止运行时动态抓包扫描。 4.在上传二进制包文 阅读全文
posted @ 2016-04-09 19:15 懒懒初阳 阅读(249) 评论(0) 推荐(0) 编辑
摘要:1.中文的处理方法 2.特殊字符处理方式 阅读全文
posted @ 2016-04-08 00:55 懒懒初阳 阅读(396) 评论(0) 推荐(0) 编辑
摘要:需要的头文件为: #import <sys/sysctl.h> 阅读全文
posted @ 2016-04-01 17:31 懒懒初阳 阅读(635) 评论(0) 推荐(0) 编辑
摘要:1 +(BOOL)IsChinese:(NSString *)str 2 { 3 for(int i=0; i 0x4e00 && a < 0x9fff) 7 { 8 return YES; 9 } 10 11 } 12 return NO; 13 } 阅读全文
posted @ 2016-04-01 17:03 懒懒初阳 阅读(261) 评论(0) 推荐(0) 编辑
摘要:1 UIAlertView * alt = [[UIAlertView alloc] initWithTitle:@"提示" 2 message:@"操作成功,马上返回继续体验吧" 3 delegate:self 4 cancelButtonTitle:@"留在当前" 5 otherButtonTi 阅读全文
posted @ 2016-04-01 15:15 懒懒初阳 阅读(279) 评论(0) 推荐(0) 编辑
摘要:Dispatch Sources 现代系统通常提供异步接口,允许应用向系统提交请求,然后在系统处理请求时应用可以继续处理自己的事情。Grand Central Dispatch正是基于这个基本行为而设计,允许你提交请求,并通过block和dispatch queue报告结果。 dispatch so 阅读全文
posted @ 2016-04-01 14:25 懒懒初阳 阅读(255) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示