大约有 26 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0024 秒)
...d:",2,3); chen541788 • 2018-01-18 10:16 然后objectC才能回调 [[conchRuntime GetIOSConchRuntime] callbackToJSWithObject:self methodName:@"operatorWith:and:" ret:[NSNumber numberWithInt:result]]; chen541788 • 2018-01-18 10:18 我是想问objectC怎样直接调用js, 而不是...
来源: Laya_社区 发布时间: 20180117
...hain"); [size=14]IOS代码:[/size] +(void)getDeviceIDInKeychain { [[conchRuntime GetIOSConchRuntime] callbackToJSWithClass:self.class methodName:@"getDeviceIDInKeychain:" ret:@"test"]; } 我能调用到IOS的方法getDeviceIDInKeychain ,但是JS没有收到OC的回调,按着官方文档...
来源: Laya_社区 发布时间: 20181206
...OS端设置热更地址为:https://xxx/xxx/index.html 实例如下: m_pConchRuntime = [[conchRuntime alloc]initWithView:m_pGLKView EAGLContext:m_pGLContext downloadThreadNum:3 URL:@"https://xxx/xxx/index.html"]; 热更文件已经放到cache目录,第一次没有走本地,而是从服务器...
来源: Laya_社区 发布时间: 20180530
...何在IOS和Android中调用AS 类实例的方法 在iOS中通过调用 [[conchRuntime GetIOSConchRuntime] callMethod:jsObjId className:@"platform.PlatformAPI" methodName:methodName param:strValue], 运行时候报 reflection error : can not find class [platform.PlatformAPI]. 不知道原因。...
来源: Laya_社区 发布时间: 20161202
...); }) 1.2 在原生端中主动执行JS端脚本 iOS/OC执行JS脚本: [[conchRuntime GetIOSConchRuntime] runJS:@"alert('hello')"]; Android/Java执行JS脚本: ConchJNI.RunJS("alert('hello world')"); 2. 原生端的消息处理 1. HarmonyOS 在libSysCapabilities/src/main/ets/event/HandleMessageU...
来源: Laya3.0_文档 发布时间: 20251010
...Controller.o objc-class-ref in MarketAppStore.o "_OBJC_CLASS_$_conchRuntime", referenced from: objc-class-ref in ViewController.o objc-class-ref in MarketAppStore.o "_OBJC_IVAR_$_conchConfig.m_nChargeType", referenced from: -[MarketAppStore getChargeType] in...
来源: Laya_社区 发布时间: 20161229