titanium - 使用 Hyperloop 从目标 C 到 Titanium 的火灾事件
问题描述
我想使用 hyperloop 将事件从目标 C 触发到 Titanium。
我从 Titanium iOS 模块中找到了如何做到这一点:https ://ti-qa-archive.github.io/question/51751/how-to-fire-an-event-in-a-module-and-catch-it -in-js.html。
文档指出“TiModule 是提供 fireEvent 方法的 TiProxy 的子类”,但我的班级中不存在 TiModule。
我的 .h 文件中的接口实现了 UIViewController 而不是 TiModule 或 TiProxy。谢谢
解决方案
推荐阅读
- python - 生成器在 python 中的 yield return 是什么,这与 return 有什么不同
- node.js - electron - node.js - ng : 无法加载文件路径\ng.ps1,因为在此系统上禁用了运行脚本
- python - Pycharm 2019 未显示 print() 输出;但退出代码 0。我该如何解决?
- asp.net-core - ASP.NET Core - HealtCheck 消息中的异常
- scala - Elastic4S - Jackson 的 ScalaObjectMapper 类未找到并抛出 NoSuchMethodError
- android - 保持一个应用程序android连接到服务器的最佳方法是什么
- arrays - 如何将 find 的结果存储在 bash 数组中,以将结果用作 bash 脚本中的文件路径?
- reactjs - 我应该如何使用反应路由器 v4 处理查询路由?
- arrays - 多查找powershell数组
- algorithm - 我如何评估其他函数句柄中的函数句柄?(matlab)