阅读背景:

使用AJAX / XMLHttpRequest时不调用shouldStartLoadWithRequest

来源:互联网 

I am trying to send method invocations from JavaScript to Objective-C and vice versa. Everything works fine for window.location triggered urls, which are catched by shouldStartLoadWithRequest. Now if I try to use an AJAX call instead, shouldStartLoadWithRequest is not called. Is there a way to do this? Mainly I do not want to be restricted to the max URL size on data that can be passed from JavaScript to Objective-C.I am trying to send method invocations from Jav




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: