IOS 中延时执行(睡眠)的方法
1
[NSThread sleepForTimeInterval:0.06]
如果使用了category,程序运行时会crash,此时需要在该工程中 other linker flags添加两个参数 -ObjC
【iOS 开发】解决使用 CocoaPods 执行 pod install 时出现 - Use the $(inherited)
flag … 警告
https://www.jianshu.com/p/dfb2a5834cd0
打开项目 Target
- Build Settings
,搜索 Other Linker Flags
,在这个设置上加入 $(inherited)
。
可以编译前清空之前缓存的项目信息。product -> clean
NSURLSession 学习
http://chuquan.me/2019/07/21/ios-network-nsurlsession/
https://blog.csdn.net/qcx321/article/details/115964523
TODO、FIXME注释标签:https://www.jianshu.com/p/65509f0ff299
category:https://tech.meituan.com/2015/03/03/diveintocategory.html
1 | iOS 获取当前网络类型(Wifi、2G、3G、4G):https://www.jianshu.com/p/58021435ab67 |