摘要: Base64是一种用64个字符来表示任意二进制数据的方法。 用记事本打开exe、jpg、pdf这些文件时,我们都会看到一大堆乱码,因为二进制文件包含很多无法显示和打印的字符,所以,如果要让记事本这样的文本处理软件能处理二进制数据,就需要一个二进制到字符串的转换方法。Base64是一种最常见的二进制编 阅读全文
posted @ 2020-01-06 11:00 o.0...w 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 默认设置是 UIRectEdgeAll,即viewController的View会延伸到最顶端,分别设置为UIRectEdgeNone和UIRectEdgeAll用reveal来看看效果. 1、 UIRectEdgeNone UIRectEdgeNoneCode.png UIRectEdgeNone 阅读全文
posted @ 2018-10-23 11:11 o.0...w 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 我就简单是说下关于iOS 10 适配HTTPS--info.plist配置里的相关Key的作用。 通常的https配置在 App Transport Security Settings 里: Allow Arbitrary Loads (大家都比较熟悉),通常大家都设置成YES,来禁用AST。 如果 阅读全文
posted @ 2018-07-05 17:14 o.0...w 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 报错: Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (Unescaped control character around character 阅读全文
posted @ 2018-06-05 18:33 o.0...w 阅读(415) 评论(0) 推荐(0) 编辑
摘要: HTTP POST请求报文格式分析与Java实现文件上传 转载:https://www.cnblogs.com/stsinghua/p/6413087.html 在开发中,我们使用的比较多的HTTP请求方式基本上就是GET、POST。其中GET用于从服务器获取数据,POST主要用于向服务器提交一些表 阅读全文
posted @ 2018-03-19 13:44 o.0...w 阅读(6686) 评论(0) 推荐(0) 编辑
摘要: This manual page is part of Xcode Tools version 5.0 To obtain these tools: Install the Xcode Tools from developer.apple.com. To obtain these tools: In 阅读全文
posted @ 2018-02-20 00:51 o.0...w 阅读(431) 评论(0) 推荐(0) 编辑
摘要: Makefile选项CFLAGS,LDFLAGS,LIBS CFLAGS 表示用于 C 编译器的选项, CXXFLAGS 表示用于 C++ 编译器的选项。这两个变量实际上涵盖了编译和汇编两个步骤。 CFLAGS: 指定头文件(.h文件)的路径,如:CFLAGS=-I/usr/include -I/p 阅读全文
posted @ 2018-02-20 00:03 o.0...w 阅读(598) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-12-06 16:38 o.0...w 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 一、错误提示 在我们写代码过程中可能会经常遇到这样一个错误: [objc] view plain copy <span style="font-size:32px;color:#ff0000;">ld: 4 duplicate symbols for architecture x86_64 clan 阅读全文
posted @ 2017-11-27 16:37 o.0...w 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 解决push VC , tabbar 跳动问题: - (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated { if (self.viewControllers.count > 0) { 阅读全文
posted @ 2017-10-27 14:00 o.0...w 阅读(454) 评论(0) 推荐(0) 编辑