Ibm mobilefirst Mobilefirst平台的sendWithCompletionHandler和InvokeProcess之间有什么区别?
从“iOS应用程序的Objective-C客户端API参考”中,我发现从iOS应用程序调用适配器时使用sendWithCompletionHandler和InvokeProcess。但在swift中这两种方法有什么不同Ibm mobilefirst Mobilefirst平台的sendWithCompletionHandler和InvokeProcess之间有什么区别?,ibm-mobilefirst,Ibm Mobilefirst,从“iOS应用程序的Objective-C客户端API参考”中,我发现从iOS应用程序调用适配器时使用sendWithCompletionHandler和InvokeProcess。但在swift中这两种方法有什么不同 非常感谢。重新绘制已删除的答案: sendWithCompletionHandler: 它是用于从本机应用程序(iOS)调用客户端适配器资源的objective c或swift api 向资源发送请求。请求必须已用有效路径初始化 - (void)sendWithCompletio
非常感谢。重新绘制已删除的答案: sendWithCompletionHandler: 它是用于从本机应用程序(iOS)调用客户端适配器资源的objective c或swift api 向资源发送请求。请求必须已用有效路径初始化
- (void)sendWithCompletionHandler:(void ( ^ ) ( IMFResponse *response , NSError *error ))completionHandler
参数completionHandler
- 请求完成时要调用的块
IMFResourceRequest.h
更多信息请查看此链接
调用过程:
此方法调用IBM®Worklight®适配器公开的过程
它是混合应用程序(即iOS、android和Windows8)客户端调用适配器资源的javascript api
语法
WL.Client invokeProcedure (invocationData, options)
更多查看此链接我不理解这个问题。请你重新措辞好吗?检查这个链接
WL.Client invokeProcedure (invocationData, options)