1 2 3 4 5 ··· 10 下一页
摘要: 添加经纬度信息和自定义字段 可参考 https://github.com/Nikita2k/SimpleExif #import <ImageIO/ImageIO.h> - (NSData *)addExifDataToImage:(NSData *)imageData withLatitude:( 阅读全文
posted @ 2024-09-02 21:56 CoderWGB 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 想要修改build号,方法还挺多的,最近也在做一些CI/CD的事情,恰好用到了 手动修改 (笨方法) 脚本修改 fastlane/Jenkins的一些插件 PlistBuddy 操作Info.plist文件 sed指令修改工程配置 感觉以上方法都麻烦,正确做法应该如下这般 #Info.plist添加 阅读全文
posted @ 2024-08-23 22:47 CoderWGB 阅读(21) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-12-15 20:59 CoderWGB 阅读(0) 评论(0) 推荐(0) 编辑
摘要: ```bash if [ "$PLATFORM_NAME" = "iphonesimulator" ] ; then echo "模拟器运行" else echo "真机运行" fi ``` 阅读全文
posted @ 2023-08-24 23:20 CoderWGB 阅读(35) 评论(0) 推荐(0) 编辑
摘要: ## 私有API (慎用 不上appstore的话就可以用) ```objc //AppDelegate.m //监听锁屏事件 #define kNotificationLock CFSTR("com.apple.springboard.lockcomplete") //监听屏幕状态变化事件 #de 阅读全文
posted @ 2023-07-13 21:33 CoderWGB 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 举例: 通过油猴下载 `https://www.cocoacontrols.com/`的 `GitHub`代码 ```js // ==UserScript== // @name cocoacontrols.com下载代码 // @namespace http://tampermonkey.net/ 阅读全文
posted @ 2023-06-16 20:36 CoderWGB 阅读(135) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-06-03 12:28 CoderWGB 阅读(0) 评论(0) 推荐(0) 编辑
摘要: ```ruby Pod::Spec.new do |s| s.name = 'AKProtoOC' s.version = '1.0.0' s.license = 'MIT' s.summary = 'PB文件本地库管理' s.homepage = 'https://xxxxxx' s.author 阅读全文
posted @ 2023-05-30 22:15 CoderWGB 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 首先创建一个目录,`cd`到目录下, `npm init -y `一路回车, 安装一个插件 `npm i websocket` 建一个`server.js`文件 ```js const WebSocketServer = require('websocket').server const http 阅读全文
posted @ 2023-05-25 20:11 CoderWGB 阅读(316) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2023.cnblogs.com/blog/797853/202305/797853-20230504214010075-185218564.png) 需要安装命令行插件 `pngquant` `jpegoptim` `gifsicle` ```python impor 阅读全文
posted @ 2023-05-04 21:42 CoderWGB 阅读(40) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 10 下一页