<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Changing the headers for UIWebKit HTTP requests</title>
	<atom:link href="http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/</link>
	<description>iCab related stuff; Mac, iPhone and Cocoa programming</description>
	<lastBuildDate>Wed, 15 May 2013 09:32:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-61505</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 20 Mar 2013 13:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-61505</guid>
		<description><![CDATA[@Alex
You have to avoid showing the Alert within(!) the AJAX context. As long as the alert box is shown (an alert box is a modal window), the Javascript execution stops until the user has dismissed it. And therefore the AJAX execution also stops. Which means the notification about the end of the AJAX context also has to wait.

So maybe if you need to shot an alert box t the user, open it after the AJAX call has ended, maybe open the alert box via timer, so it is not directly linked to the AJAX context anymore.]]></description>
		<content:encoded><![CDATA[<p>@Alex<br />
You have to avoid showing the Alert within(!) the AJAX context. As long as the alert box is shown (an alert box is a modal window), the Javascript execution stops until the user has dismissed it. And therefore the AJAX execution also stops. Which means the notification about the end of the AJAX context also has to wait.</p>
<p>So maybe if you need to shot an alert box t the user, open it after the AJAX call has ended, maybe open the alert box via timer, so it is not directly linked to the AJAX context anymore.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-61504</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 20 Mar 2013 07:05:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-61504</guid>
		<description><![CDATA[@Alexander:

Yes! you&#039;re right!  The problem is caused by sync ajax.(JQuery v1.9, but not happened in v1.4), and stopLoading is not called before I close the &quot;popup win&quot; in the web page.

But is there any way to notify the iOS to call &quot;stopLoading&quot; after data received?
Thanks!]]></description>
		<content:encoded><![CDATA[<p>@Alexander:</p>
<p>Yes! you&#8217;re right!  The problem is caused by sync ajax.(JQuery v1.9, but not happened in v1.4), and stopLoading is not called before I close the &#8220;popup win&#8221; in the web page.</p>
<p>But is there any way to notify the iOS to call &#8220;stopLoading&#8221; after data received?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-61451</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 18 Feb 2013 14:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-61451</guid>
		<description><![CDATA[@Alex
In general this should work just fine. I&#039;ve checked this myself again, and all the methods (including stopLoading) are called as expected. Is there a special reason why you&#039;re using a synchronous Ajax call? Normally you should avoid synchronous Ajax requests whenever possible. 

But in case your still using iOS 6.0.0, you should definitely update, because iOS 6.0.0 has some serious bugs which caused that an App should not always find out if the page loading has finished (even the &quot;isLoading&quot; method of UIWebView did return &quot;YES&quot; when the page load was definitely finished).

Also please note that when showing a Javascript &quot;alert&quot; (for example for debugging) within the context of the XMLHttpRequest, the request is stopped until the alert is dismissed. And this also means that &quot;stopLoading&quot; is not called until the alert box is dismissed.]]></description>
		<content:encoded><![CDATA[<p>@Alex<br />
In general this should work just fine. I&#8217;ve checked this myself again, and all the methods (including stopLoading) are called as expected. Is there a special reason why you&#8217;re using a synchronous Ajax call? Normally you should avoid synchronous Ajax requests whenever possible. </p>
<p>But in case your still using iOS 6.0.0, you should definitely update, because iOS 6.0.0 has some serious bugs which caused that an App should not always find out if the page loading has finished (even the &#8220;isLoading&#8221; method of UIWebView did return &#8220;YES&#8221; when the page load was definitely finished).</p>
<p>Also please note that when showing a Javascript &#8220;alert&#8221; (for example for debugging) within the context of the XMLHttpRequest, the request is stopped until the alert is dismissed. And this also means that &#8220;stopLoading&#8221; is not called until the alert box is dismissed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-61445</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 18 Feb 2013 01:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-61445</guid>
		<description><![CDATA[Hi, @Alexander,
I found a problem, I use NSURLProtocol to filter the request from UIWebView, but I found a webpage contains this JS code:
&lt;pre&gt;
 $.ajax({
        async: false, cache: false, type: &quot;get&quot;, dataType: &quot;text&quot;,
        url: &quot;/Order/OrderTrackLine/&quot; + formcode + &quot;?province=&quot; + escape(province) + &quot;&amp;status=&quot; + status,
        data: &quot;&quot;,
        beforeSend: function () { $(&quot;#info&quot; + formcode).html(&quot;正在读取，请稍候...&quot;); },
        success: function (data) {

            $(&quot;#info&quot; + formcode).html(data);
        },
        error: function (XMLHttpRequest) { },
        complete: function (XMLHttpRequest) { }
    });
&lt;/pre&gt;
NSURLProtocol can capture this request, but after -connectionDidFinishLoading: called,  nothing continue, that&#039;s say, -stopLoading method isn&#039;t called, and the content that fetched by this ajax request can&#039;t be shown in the web page.  I don&#039;t know why.]]></description>
		<content:encoded><![CDATA[<p>Hi, @Alexander,<br />
I found a problem, I use NSURLProtocol to filter the request from UIWebView, but I found a webpage contains this JS code:</p>
<pre>
 $.ajax({
        async: false, cache: false, type: "get", dataType: "text",
        url: "/Order/OrderTrackLine/" + formcode + "?province=" + escape(province) + "&amp;status=" + status,
        data: "",
        beforeSend: function () { $("#info" + formcode).html("正在读取，请稍候..."); },
        success: function (data) {

            $("#info" + formcode).html(data);
        },
        error: function (XMLHttpRequest) { },
        complete: function (XMLHttpRequest) { }
    });
</pre>
<p>NSURLProtocol can capture this request, but after -connectionDidFinishLoading: called,  nothing continue, that&#8217;s say, -stopLoading method isn&#8217;t called, and the content that fetched by this ajax request can&#8217;t be shown in the web page.  I don&#8217;t know why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-29798</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Fri, 29 Jun 2012 21:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-29798</guid>
		<description><![CDATA[@Alex
OK, maybe you should use a network sniffer to check what exactly is going on here. Please note that there can be also HTTP redirections, which you also need to process in the NSURLProtocol. If you don&#039;t, the UserAgent header might be missing for redirections and if the server doesn&#039;t like this, you might see some unexpected results.]]></description>
		<content:encoded><![CDATA[<p>@Alex<br />
OK, maybe you should use a network sniffer to check what exactly is going on here. Please note that there can be also HTTP redirections, which you also need to process in the NSURLProtocol. If you don&#8217;t, the UserAgent header might be missing for redirections and if the server doesn&#8217;t like this, you might see some unexpected results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-29741</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 29 Jun 2012 02:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-29741</guid>
		<description><![CDATA[@Alexander: sorry I didn&#039;t explain clearly, the &quot;window&quot; is not a real window, just a region that covers the part of the original page,  and it looks like a &quot;window&quot;,  this region may rendered by CSS or some else.

when user click the link, it won&#039;t open a new page, just show this &quot;window&quot;.]]></description>
		<content:encoded><![CDATA[<p>@Alexander: sorry I didn&#8217;t explain clearly, the &#8220;window&#8221; is not a real window, just a region that covers the part of the original page,  and it looks like a &#8220;window&#8221;,  this region may rendered by CSS or some else.</p>
<p>when user click the link, it won&#8217;t open a new page, just show this &#8220;window&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-29704</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 28 Jun 2012 12:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-29704</guid>
		<description><![CDATA[@Alex
I&#039;m not sure if the AJAX issue is really related to NSURLProtocol. There&#039;s a general unsolvable problem with popup windows in the iOS: The UIWebView API does not support multiple windows, so it does not have any method that deals with popup windows. And this means that all attempts of a web page in opening a new window will be silently ignored by UIWebView. No window will ever open.

So in order to get popup windows or links open in new windows or tabs, you as a developer need to modify the web page, modify link targets, overwrite the &quot;window.open&quot; property of JavaScript to get notified when a web page tries to open a new window, and then open the window yourself outside of the context of the UIWebView. This works find in most cases, but it fails if a web page is using the reference to the new window that is normally returned by the &quot;window.open&quot; call. This is because even if you&#039;ve opened a new
window and created a new instance of UIWebView for this &quot;window-open&quot; call, you can not pass back the reference to the new window as return value of this &quot;window.open&quot; call. So whenever a web page tries to use a window references that was returned by window.open, it will fail, because this can never be a valid reference to the new window.

And web pages might use this reference to pass new content to the new window. And this will fail.]]></description>
		<content:encoded><![CDATA[<p>@Alex<br />
I&#8217;m not sure if the AJAX issue is really related to NSURLProtocol. There&#8217;s a general unsolvable problem with popup windows in the iOS: The UIWebView API does not support multiple windows, so it does not have any method that deals with popup windows. And this means that all attempts of a web page in opening a new window will be silently ignored by UIWebView. No window will ever open.</p>
<p>So in order to get popup windows or links open in new windows or tabs, you as a developer need to modify the web page, modify link targets, overwrite the &#8220;window.open&#8221; property of JavaScript to get notified when a web page tries to open a new window, and then open the window yourself outside of the context of the UIWebView. This works find in most cases, but it fails if a web page is using the reference to the new window that is normally returned by the &#8220;window.open&#8221; call. This is because even if you&#8217;ve opened a new<br />
window and created a new instance of UIWebView for this &#8220;window-open&#8221; call, you can not pass back the reference to the new window as return value of this &#8220;window.open&#8221; call. So whenever a web page tries to use a window references that was returned by window.open, it will fail, because this can never be a valid reference to the new window.</p>
<p>And web pages might use this reference to pass new content to the new window. And this will fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-2/#comment-29696</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 28 Jun 2012 08:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-29696</guid>
		<description><![CDATA[-----------------------------------------
As I noted above in one comment, I assume the only “legal” way to change the UserAgent that also works under iOS 5 is to implement your own HTTP protocol handler using NSURLProtocol, which is a public API.
-----------------------------------------
@Alexander:  I did use NSURLProtocol to hook the request of UIWebView,  but I found a problem:  some webpages, when user clicks a link, will popup a &quot;window&quot;, and the content of the &quot;window&quot; is fetched by ajax. if i use NSURLProtocol to hook the request, the &quot;window&quot; won&#039;t popup,  I don&#039;t know why.

sorry for my poor English -_-!!!]]></description>
		<content:encoded><![CDATA[<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
As I noted above in one comment, I assume the only “legal” way to change the UserAgent that also works under iOS 5 is to implement your own HTTP protocol handler using NSURLProtocol, which is a public API.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
@Alexander:  I did use NSURLProtocol to hook the request of UIWebView,  but I found a problem:  some webpages, when user clicks a link, will popup a &#8220;window&#8221;, and the content of the &#8220;window&#8221; is fetched by ajax. if i use NSURLProtocol to hook the request, the &#8220;window&#8221; won&#8217;t popup,  I don&#8217;t know why.</p>
<p>sorry for my poor English -_-!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-28575</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 06 Jun 2012 12:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-28575</guid>
		<description><![CDATA[@mk
You are right, this approach does no longer work under iOS 5. UIWebView still uses NSMutableURLRequest objects, but it does no longer use the public API to set or change its properties.

The only solution left to change the HTTP headers is much more complicated, because you have to write your own HTTP protocol handler using the NSURLProtocol class.]]></description>
		<content:encoded><![CDATA[<p>@mk<br />
You are right, this approach does no longer work under iOS 5. UIWebView still uses NSMutableURLRequest objects, but it does no longer use the public API to set or change its properties.</p>
<p>The only solution left to change the HTTP headers is much more complicated, because you have to write your own HTTP protocol handler using the NSURLProtocol class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mk</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-28560</link>
		<dc:creator>mk</dc:creator>
		<pubDate>Wed, 06 Jun 2012 05:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-28560</guid>
		<description><![CDATA[hi 
thanks for the great post!
i am trying to use your approach in ios 5.
the swizzleMethod is called at runtime, but 
- (void)newSetValue:(NSString *)value forHTTPHeaderField:(NSString *)field 
never gets called at runtime.
do you know if the uiwebview implementation in ios5 still uses NsMutableUrlRequest ?

Cheers from Austria
Martin]]></description>
		<content:encoded><![CDATA[<p>hi<br />
thanks for the great post!<br />
i am trying to use your approach in ios 5.<br />
the swizzleMethod is called at runtime, but<br />
- (void)newSetValue:(NSString *)value forHTTPHeaderField:(NSString *)field<br />
never gets called at runtime.<br />
do you know if the uiwebview implementation in ios5 still uses NsMutableUrlRequest ?</p>
<p>Cheers from Austria<br />
Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-19957</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 13 Jan 2012 23:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-19957</guid>
		<description><![CDATA[For my prototype app I don&#039;t care if I have to use a private API, so the solution from henry yan would be perfect. But in my App I&#039;m using ARC and I think mainly this cast &quot;(void**)&amp;webView)&quot; gives an error when trying to compile and using ARC. Does someone know how to change the code from henry to make it compile when using ARC? (I know, I really should study the ARC internals more profoundly...)]]></description>
		<content:encoded><![CDATA[<p>For my prototype app I don&#8217;t care if I have to use a private API, so the solution from henry yan would be perfect. But in my App I&#8217;m using ARC and I think mainly this cast &#8220;(void**)&amp;webView)&#8221; gives an error when trying to compile and using ARC. Does someone know how to change the code from henry to make it compile when using ARC? (I know, I really should study the ARC internals more profoundly&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-18749</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 15 Dec 2011 11:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-18749</guid>
		<description><![CDATA[@henry yan
What you&#039;re proposing would use private API. This might be fine for App that are only used by you or in your company or when developing for the &quot;jailbreak&quot; market, but it is definitely not allowed in the AppStore. Apple might reject your App right away if you use the private API, or they might pull it later from the AppStore, when they find out what you&#039;re  doing.

As I noted above in one comment, I assume the only &quot;legal&quot; way to change the UserAgent that also works under iOS 5 is to implement your own HTTP protocol handler using NSURLProtocol, which is a public API.]]></description>
		<content:encoded><![CDATA[<p>@henry yan<br />
What you&#8217;re proposing would use private API. This might be fine for App that are only used by you or in your company or when developing for the &#8220;jailbreak&#8221; market, but it is definitely not allowed in the AppStore. Apple might reject your App right away if you use the private API, or they might pull it later from the AppStore, when they find out what you&#8217;re  doing.</p>
<p>As I noted above in one comment, I assume the only &#8220;legal&#8221; way to change the UserAgent that also works under iOS 5 is to implement your own HTTP protocol handler using NSURLProtocol, which is a public API.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henry yan</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-18739</link>
		<dc:creator>henry yan</dc:creator>
		<pubDate>Thu, 15 Dec 2011 09:09:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-18739</guid>
		<description><![CDATA[it seems we have to do this workaround to change User-Agent, not sure Apple allow to do this.
I just do the test on iPhone Simulator (iOS 5), and it works well so far.
--------------8&lt;--------------------------------------------
NSString *userAgent = @&quot;Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; ja-jp) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5&quot;;
            
            id webDocumentView;
            id webView;
            webDocumentView = objc_msgSend(mWebView, @selector(_documentView)); 
            object_getInstanceVariable(webDocumentView, &quot;_webView&quot;, (void**)&amp;webView);
            objc_msgSend(webView, @selector(setCustomUserAgent:), userAgent); 
--------------8&lt;--------------------------------------------]]></description>
		<content:encoded><![CDATA[<p>it seems we have to do this workaround to change User-Agent, not sure Apple allow to do this.<br />
I just do the test on iPhone Simulator (iOS 5), and it works well so far.<br />
&#8212;&#8212;&#8212;&#8212;&#8211;8&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
NSString *userAgent = @&quot;Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; ja-jp) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5&quot;;</p>
<p>            id webDocumentView;<br />
            id webView;<br />
            webDocumentView = objc_msgSend(mWebView, @selector(_documentView));<br />
            object_getInstanceVariable(webDocumentView, &quot;_webView&quot;, (void**)&amp;webView);<br />
            objc_msgSend(webView, @selector(setCustomUserAgent:), userAgent);<br />
&#8212;&#8212;&#8212;&#8212;&#8211;8&lt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-16707</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Mon, 17 Oct 2011 16:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-16707</guid>
		<description><![CDATA[@groumpf
You could do this, but I guess this will not work very well in general. The resources are not covered this way, but these can be important as well. And when you load the main requests yourself and then feed the result to UIWebView as NSData or as string, you lose all the background loading ability or UIWebView. So everything will be much slower.]]></description>
		<content:encoded><![CDATA[<p>@groumpf<br />
You could do this, but I guess this will not work very well in general. The resources are not covered this way, but these can be important as well. And when you load the main requests yourself and then feed the result to UIWebView as NSData or as string, you lose all the background loading ability or UIWebView. So everything will be much slower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: groumpf</title>
		<link>http://www.icab.de/blog/2010/04/07/changing-the-headers-for-uiwebkit-http-requests/comment-page-1/#comment-16699</link>
		<dc:creator>groumpf</dc:creator>
		<pubDate>Mon, 17 Oct 2011 13:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=144#comment-16699</guid>
		<description><![CDATA[@Alexander thank for reply
I&#039;m wondering if another (slightly easier ?) solution could be to execute each request instead of letting the UIWebView doing it. You can then make the request you like, get the result in a string and pass it to the UIWebView loadHTMLString and do the same on shouldLoad...
Except for the resources, it should work.]]></description>
		<content:encoded><![CDATA[<p>@Alexander thank for reply<br />
I&#8217;m wondering if another (slightly easier ?) solution could be to execute each request instead of letting the UIWebView doing it. You can then make the request you like, get the result in a string and pass it to the UIWebView loadHTMLString and do the same on shouldLoad&#8230;<br />
Except for the resources, it should work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
