上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页
摘要: 点击某个分享按钮,调起系统的 UIActivityViewController,实现如下效果 // // PDFShareViewController.m // QuFangApp // // Created by huangzengsong on 2025/4/17. // #import "PD 阅读全文
posted @ 2025-04-17 12:13 黄增松 阅读(39) 评论(0) 推荐(0)
摘要: Native 与 Flutter 混合开发中的 Flutter 多引擎与单引擎分析 https://juejin.cn/post/7482003475900989492 https://juejin.cn/post/7474995524337500212 单引擎模式 单引擎模式是指在一个 Flutt 阅读全文
posted @ 2025-04-14 10:25 黄增松 阅读(201) 评论(0) 推荐(0)
摘要: ai 腾讯元宝答案 func isServerVersionNewer(serverVersion: String, currentVersion: String) -> Bool { let serverComponents = serverVersion.split(separator: "." 阅读全文
posted @ 2025-04-11 15:06 黄增松 阅读(44) 评论(0) 推荐(0)
摘要: 在升级flutter之后,当我尝试用模拟器测试flutter项目时,iOS pod install 出现了这个错误。 cd 到flutter目录flutter clean flutter pub get cd ios pod install pod update 阅读全文
posted @ 2025-04-09 13:53 黄增松 阅读(96) 评论(0) 推荐(0)
摘要: 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 黄增松 阅读(27) 评论(0) 推荐(0)
摘要: 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 黄增松 阅读(29) 评论(0) 推荐(0)
摘要: VIPER: View: 负责UI展示。 Interactor: 负责业务逻辑和数据获取。 Presenter: 负责处理View和Interactor之间的通信。 Entity: 数据模型。 Router: 负责导航和模块之间的通信。 优点: 职责分离清晰,易于测试和维护。 适合大型项目。 缺点: 阅读全文
posted @ 2025-03-20 09:49 黄增松 阅读(104) 评论(0) 推荐(0)
摘要: 动态添加方法: 使用class_addMethod函数。 示例: void dynamicMethodIMP(id self, SEL _cmd) { NSLog(@"Dynamic method added!"); } class_addMethod([MyClass class], @selec 阅读全文
posted @ 2025-03-19 17:32 黄增松 阅读(48) 评论(0) 推荐(0)
摘要: 自定义返回按钮,设置 setLeftBarButtonItem 后,系统的滑动手势返回会失效。 BaseNavigationController里,加下面的逻辑。 - (void)viewDidLoad { [super viewDidLoad]; self.interactivePopGestur 阅读全文
posted @ 2025-03-19 09:52 黄增松 阅读(52) 评论(0) 推荐(0)
摘要: requireGestureRecognizerToFail 这个方法,是_scrollView等左滑手势失效后,再执行_scrollView内部的手势解决方案一(推荐) [_scrollView.panGestureRecognizer requireGestureRecognizerToFail 阅读全文
posted @ 2025-03-19 09:48 黄增松 阅读(60) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页