<?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: WebKit on the iPhone (Part 1)</title>
	<atom:link href="http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/</link>
	<description>iCab related stuff; Mac, iPhone and Cocoa programming</description>
	<lastBuildDate>Fri, 03 Feb 2012 21:00:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-12190</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 12 May 2011 22:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-12190</guid>
		<description>@Marzzz
No, iCab doesn&#039;t show a checkered pattern. Or what exactly do you mean?</description>
		<content:encoded><![CDATA[<p>@Marzzz<br />
No, iCab doesn&#8217;t show a checkered pattern. Or what exactly do you mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marzzz</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-12187</link>
		<dc:creator>Marzzz</dc:creator>
		<pubDate>Thu, 12 May 2011 20:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-12187</guid>
		<description>Hmm, I don&#039;t understand - iCab mobile does this...</description>
		<content:encoded><![CDATA[<p>Hmm, I don&#8217;t understand &#8211; iCab mobile does this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-12161</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Wed, 11 May 2011 23:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-12161</guid>
		<description>@Marzzz
If another browser shows a checkered pattern while scrolling, it uses a private (and therefore forbidden) API. Apple might remove the Apps if they find out.</description>
		<content:encoded><![CDATA[<p>@Marzzz<br />
If another browser shows a checkered pattern while scrolling, it uses a private (and therefore forbidden) API. Apple might remove the Apps if they find out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marzzz</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-12160</link>
		<dc:creator>Marzzz</dc:creator>
		<pubDate>Wed, 11 May 2011 23:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-12160</guid>
		<description>Hey you said that smooth checkerboarded scrolling is Not possible outside safari but it seems it&#039;s no longer True as many browsers implement this now - could you Please explain me how this works eg why smooth scrolling is Not possible without the side effect of annoying checkerboarding??? Is the whole page converted to bitmap or smth like this so browser is cheating to get smoother scrolling? Checkerboards are highly annoying on IPad 1 (especially the ones that occur during page loading) but jerky scrolling on image intensive sites with browsers that doesnt use this technique is annoying as Well... Is IPad&#039;s Cpu that weak it Cant scroll simple image gallery without choking? And one more thing which I don&#039;t understand - In checkerboarding browsers while page is still loading and you scroll down to checkerboard it won&#039;t dissapear until you stop scrolling and lift your finger - If you don&#039;t checkerboard will remain visible... And it&#039;s Not enough to lift your finger you have stop page from scrolling (&quot;moving&quot;) completly. Why is that? If browser has Scrollbar like icab&#039;s scrollpad and you scroll page using it loading will continue regardless of scroling... </description>
		<content:encoded><![CDATA[<p>Hey you said that smooth checkerboarded scrolling is Not possible outside safari but it seems it&#8217;s no longer True as many browsers implement this now &#8211; could you Please explain me how this works eg why smooth scrolling is Not possible without the side effect of annoying checkerboarding??? Is the whole page converted to bitmap or smth like this so browser is cheating to get smoother scrolling? Checkerboards are highly annoying on IPad 1 (especially the ones that occur during page loading) but jerky scrolling on image intensive sites with browsers that doesnt use this technique is annoying as Well&#8230; Is IPad&#8217;s Cpu that weak it Cant scroll simple image gallery without choking? And one more thing which I don&#8217;t understand &#8211; In checkerboarding browsers while page is still loading and you scroll down to checkerboard it won&#8217;t dissapear until you stop scrolling and lift your finger &#8211; If you don&#8217;t checkerboard will remain visible&#8230; And it&#8217;s Not enough to lift your finger you have stop page from scrolling (&#8220;moving&#8221;) completly. Why is that? If browser has Scrollbar like icab&#8217;s scrollpad and you scroll page using it loading will continue regardless of scroling&#8230; </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilesh</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-3373</link>
		<dc:creator>Nilesh</dc:creator>
		<pubDate>Sun, 04 Jul 2010 18:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-3373</guid>
		<description>Great work man, Thank you very much....</description>
		<content:encoded><![CDATA[<p>Great work man, Thank you very much&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2905</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Wed, 19 May 2010 09:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2905</guid>
		<description>also forgot to ask how stanza and other readers are doing it? Are they not using webview?</description>
		<content:encoded><![CDATA[<p>also forgot to ask how stanza and other readers are doing it? Are they not using webview?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2904</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Wed, 19 May 2010 09:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2904</guid>
		<description>thanks Alexander, as you are saying that &quot;always scroll less than a full page height&quot;.
while loading a file to webview, the line space and paragraph spaces we can not determine where they will occur. How would be possible to calculate page height?</description>
		<content:encoded><![CDATA[<p>thanks Alexander, as you are saying that &#8220;always scroll less than a full page height&#8221;.<br />
while loading a file to webview, the line space and paragraph spaces we can not determine where they will occur. How would be possible to calculate page height?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2889</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Tue, 18 May 2010 13:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2889</guid>
		<description>@ashish
There&#039;s no simple solution here. You would have to manually measure the line heights of the text to be able to correct the scrolling offset. But please note that it is possible that you can&#039;t find any offset at all which would not cut off a line of text. This can happen when a web page uses multiple columns and the text of these columns is offset by a half line.

Maybe a better pragmatic solution would be to always scroll less than a full page height. So the last line that is shown before scrolling (fully or only partially) will be shown as the first line after scrolling. This way you don&#039;t need to be really exact.</description>
		<content:encoded><![CDATA[<p>@ashish<br />
There&#8217;s no simple solution here. You would have to manually measure the line heights of the text to be able to correct the scrolling offset. But please note that it is possible that you can&#8217;t find any offset at all which would not cut off a line of text. This can happen when a web page uses multiple columns and the text of these columns is offset by a half line.</p>
<p>Maybe a better pragmatic solution would be to always scroll less than a full page height. So the last line that is shown before scrolling (fully or only partially) will be shown as the first line after scrolling. This way you don&#8217;t need to be really exact.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2888</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Tue, 18 May 2010 10:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2888</guid>
		<description>@Alexander
I have the same question in this thread but its not answered properly. Any help from your point of view, how to deal with this?
http://stackoverflow.com/questions/2707210/uiwebview-paging-line-cut-off</description>
		<content:encoded><![CDATA[<p>@Alexander<br />
I have the same question in this thread but its not answered properly. Any help from your point of view, how to deal with this?<br />
<a href="http://stackoverflow.com/questions/2707210/uiwebview-paging-line-cut-off" rel="nofollow">http://stackoverflow.com/questions/2707210/uiwebview-paging-line-cut-off</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2649</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Tue, 04 May 2010 21:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2649</guid>
		<description>@Sam
You won&#039;t get notified when the page changes due to JavaScript. The only chance would be to do some checks yourself. You could do this on touch events or also every x seconds or so.</description>
		<content:encoded><![CDATA[<p>@Sam<br />
You won&#8217;t get notified when the page changes due to JavaScript. The only chance would be to do some checks yourself. You could do this on touch events or also every x seconds or so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2643</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 04 May 2010 19:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2643</guid>
		<description>Thank you for this blog. I&#039;m learning a lot.
I have a question about using Javascript like you do in some of your other posts. Can you detect when the web page changes due to Javascript? I&#039;m trying to use your method for links with target=&quot;_blank&quot;, but it&#039;s not working on the Google Reader site. Those links are created by javascript after the page has loaded and the user has clicked on an entry. Before that, they don&#039;t have the target attribute. How do you detect links where the target attribute is added by javascript? Thank you.</description>
		<content:encoded><![CDATA[<p>Thank you for this blog. I&#8217;m learning a lot.<br />
I have a question about using Javascript like you do in some of your other posts. Can you detect when the web page changes due to Javascript? I&#8217;m trying to use your method for links with target=&#8221;_blank&#8221;, but it&#8217;s not working on the Google Reader site. Those links are created by javascript after the page has loaded and the user has clicked on an entry. Before that, they don&#8217;t have the target attribute. How do you detect links where the target attribute is added by javascript? Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saving an Image from UIWebView &#124; Steili.com</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2576</link>
		<dc:creator>Saving an Image from UIWebView &#124; Steili.com</dc:creator>
		<pubDate>Sat, 01 May 2010 03:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2576</guid>
		<description>[...] iCab Blog for the elementFromPoint idea &#8211; see Alexander&#8217;s comment on 9/1 11:55am, and the support [...]</description>
		<content:encoded><![CDATA[<p>[...] iCab Blog for the elementFromPoint idea &#8211; see Alexander&#8217;s comment on 9/1 11:55am, and the support [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2556</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Thu, 29 Apr 2010 10:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2556</guid>
		<description>@JC
There seems to be no public API to get the smooth &quot;checkerboard scrolling&quot; from in Safari.
In case you find a way to implement this using public APIs only, please let me know.</description>
		<content:encoded><![CDATA[<p>@JC<br />
There seems to be no public API to get the smooth &#8220;checkerboard scrolling&#8221; from in Safari.<br />
In case you find a way to implement this using public APIs only, please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JC</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2547</link>
		<dc:creator>JC</dc:creator>
		<pubDate>Wed, 28 Apr 2010 16:10:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2547</guid>
		<description>Hello Alexander.

Is there a simple way to make the UIWebView scroll more &quot;smoothly&quot; similar to Safari, where it offloads the offscreen portions with the &quot;gray area&quot;?  Could this be done with CATileLayer?</description>
		<content:encoded><![CDATA[<p>Hello Alexander.</p>
<p>Is there a simple way to make the UIWebView scroll more &#8220;smoothly&#8221; similar to Safari, where it offloads the offscreen portions with the &#8220;gray area&#8221;?  Could this be done with CATileLayer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.icab.de/blog/2009/07/27/webkit-on-the-iphone-part-1/comment-page-2/#comment-2055</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Sun, 21 Mar 2010 21:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.icab.de/blog/?p=14#comment-2055</guid>
		<description>@akp
There&#039;s only one way to scroll a web view programmatically, and this is by using the JavaScript function &quot;scrollTo&quot;:

window.scrollTo(x, y);

The coordinates are document coordinates, not device coordinates.</description>
		<content:encoded><![CDATA[<p>@akp<br />
There&#8217;s only one way to scroll a web view programmatically, and this is by using the JavaScript function &#8220;scrollTo&#8221;:</p>
<p>window.scrollTo(x, y);</p>
<p>The coordinates are document coordinates, not device coordinates.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

