会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄增松的技术博客
2013年开始开发iOS(oc+swift+flutter) QQ:759952579
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
22
下一页
2025年5月16日
极光推送和个推推送对比
摘要: 1.apns 通知(走的是苹果的apns服务器) 点击推送 -(void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse
阅读全文
posted @ 2025-05-16 16:20 黄增松
阅读(239)
评论(0)
推荐(0)
2025年5月15日
设备指纹
摘要: 1. IDFA恢复出厂设置会变化删除APP不变化(idfa=设备号+bundle ID) 广告位标识符:在同一个设备上的所有App都会取到相同的值,是苹果专门给各广告提供商用来追踪用户而设的,用户可以在 设置|隐私|广告追踪里重置此id的值,或限制此id的使用,故此id有可能会取不到值,但好在App
阅读全文
posted @ 2025-05-15 10:42 黄增松
阅读(45)
评论(0)
推荐(0)
2025年4月17日
分享pdf iOS
摘要: 点击某个分享按钮,调起系统的 UIActivityViewController,实现如下效果 // // PDFShareViewController.m // QuFangApp // // Created by huangzengsong on 2025/4/17. // #import "PD
阅读全文
posted @ 2025-04-17 12:13 黄增松
阅读(33)
评论(0)
推荐(0)
2025年4月14日
单引擎和多引擎的区别 FlutterEngine flutter
摘要: Native 与 Flutter 混合开发中的 Flutter 多引擎与单引擎分析 https://juejin.cn/post/7482003475900989492 https://juejin.cn/post/7474995524337500212 单引擎模式 单引擎模式是指在一个 Flutt
阅读全文
posted @ 2025-04-14 10:25 黄增松
阅读(173)
评论(0)
推荐(0)
2025年4月11日
版本更新版本号对比 ios
摘要: ai 腾讯元宝答案 func isServerVersionNewer(serverVersion: String, currentVersion: String) -> Bool { let serverComponents = serverVersion.split(separator: "."
阅读全文
posted @ 2025-04-11 15:06 黄增松
阅读(39)
评论(0)
推荐(0)
2025年4月9日
Invalid `Podfile` file: cannot load such file -- * /DEVELOPER/flutter/packages/flutter_tools/bin/podhelper.
摘要: 在升级flutter之后,当我尝试用模拟器测试flutter项目时,iOS pod install 出现了这个错误。 cd 到flutter目录flutter clean flutter pub get cd ios pod install pod update
阅读全文
posted @ 2025-04-09 13:53 黄增松
阅读(87)
评论(0)
推荐(0)
flutter混合开发调研
摘要: Android原生添加flutter模块 https://blog.51cto.com/u_16175487/13240495 iOS原生添加flutter模块 https://www.cnblogs.com/jerryspace/p/17823075.html
阅读全文
posted @ 2025-04-09 10:40 黄增松
阅读(26)
评论(0)
推荐(0)
2025年4月3日
flutter混合开发 三端分离方案
摘要: flutter混合开发 三端分离方案 https://blog.csdn.net/m0_61164038/article/details/145462386 flutter打包aar 安卓集成flutter https://blog.51cto.com/u_16175489/9166810
阅读全文
posted @ 2025-04-03 16:10 黄增松
阅读(26)
评论(0)
推荐(0)
2025年3月20日
解释VIPER架构,并说明它的优缺点。 iOS
摘要: VIPER: View: 负责UI展示。 Interactor: 负责业务逻辑和数据获取。 Presenter: 负责处理View和Interactor之间的通信。 Entity: 数据模型。 Router: 负责导航和模块之间的通信。 优点: 职责分离清晰,易于测试和维护。 适合大型项目。 缺点:
阅读全文
posted @ 2025-03-20 09:49 黄增松
阅读(95)
评论(0)
推荐(0)
2025年3月19日
如何在运行时动态添加方法和属性? ios
摘要: 动态添加方法: 使用class_addMethod函数。 示例: void dynamicMethodIMP(id self, SEL _cmd) { NSLog(@"Dynamic method added!"); } class_addMethod([MyClass class], @selec
阅读全文
posted @ 2025-03-19 17:32 黄增松
阅读(40)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
22
下一页
公告