2019年1月28日
摘要: 1,首页需要去腾讯开发者平台注册应用 并且审核通过 获取appid 2,pod 'TencentOpenAPI-Unofficial', '~> 3.3.0' #import <TencentOpenAPI/QQApiInterface.h> #import <TencentOpenAPI/Tenc 阅读全文
posted @ 2019-01-28 14:58 廖利君 阅读(1902) 评论(0) 推荐(0) 编辑
  2018年12月28日
摘要: 1,获取设备唯一标识符 NSString *identifierStr = [[[UIDevice currentDevice] identifierForVendor] UUIDString]; NSLog(@"设备唯一标识符:%@",identifierStr);// 设备唯一标识符:C2017 阅读全文
posted @ 2018-12-28 15:58 廖利君 阅读(316) 评论(0) 推荐(0) 编辑
  2018年12月14日
摘要: 获取今天字符串 +(NSString *)getCurrentDay{ NSDate *currentDate = [NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatt 阅读全文
posted @ 2018-12-14 11:33 廖利君 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 解决:NSString *jScript = @"var meta = document.createElement('meta'); meta.setAttribute('name', 'viewport'); meta.setAttribute('content', 'width=d 阅读全文
posted @ 2018-12-14 11:30 廖利君 阅读(163) 评论(0) 推荐(0) 编辑
  2018年12月13日
摘要: 1,终端导入 pod 'WechatOpenSDK' 2,https://open.weixin.qq.com 获取应用的 AppID:wx4519c7c409cbd9a3 AppSecret 3,打开应用 info-URL_type 加入 AppID:wx4519c7c409cbd9a3 再inf 阅读全文
posted @ 2018-12-13 10:46 廖利君 阅读(588) 评论(0) 推荐(0) 编辑
  2018年10月8日
摘要: 首先呢 UIAlertController是presentViewController 属于模型跳转 模型是vc才可以present 所以把添加在window上面的view赋值个vc 在vc上面进去present AppDelegate *delegate =(id)[UIApplication s 阅读全文
posted @ 2018-10-08 15:57 廖利君 阅读(2260) 评论(0) 推荐(0) 编辑
  2018年9月13日
摘要: 更换新电脑 发现pod install 没有任何反应 -bash: pod: command not found 解决办法 阅读全文
posted @ 2018-09-13 16:38 廖利君 阅读(322) 评论(0) 推荐(0) 编辑
  2018年7月2日
摘要: #pragma mark - 上拉隐藏navigation bar - (void)setupScrollHideNavigationBar { [self.tableView addObserver:self forKeyPath:@"contentOffset" options:NSKeyVal 阅读全文
posted @ 2018-07-02 14:53 廖利君 阅读(256) 评论(0) 推荐(0) 编辑
  2018年5月24日
摘要: 首先呢 这里说的是加载网络的pdf 可不是本地的哦 新建一个view 主要是用于循环渲染绘制pdf单页面内容 .h重写init方法 用于自定义 接收docRef文件和传入的page页面 - (instancetype)initWithFrame:(CGRect)frame documentRef:( 阅读全文
posted @ 2018-05-24 13:55 廖利君 阅读(239) 评论(0) 推荐(0) 编辑
  2018年3月20日
摘要: 当你下载软件 安装的时候出现下面图 这是新系统(macOS Sierra 10.12.X)惹的祸。新系统加强了安全机制,默认不允许用户自行下载安装应用程序,只能从Mac App Store里安装应用。 解决方法 1,打开终端 运行sudo spctl -master-disable 回车后输入密码 阅读全文
posted @ 2018-03-20 11:24 廖利君 阅读(1126) 评论(0) 推荐(0) 编辑