<?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: Open Link in Safari</title>
	<atom:link href="http://dougdiego.com/2008/10/12/open-link-in-safari/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougdiego.com/2008/10/12/open-link-in-safari/</link>
	<description></description>
	<lastBuildDate>Thu, 15 Jul 2010 12:39:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: doug</title>
		<link>http://dougdiego.com/2008/10/12/open-link-in-safari/comment-page-1/#comment-264</link>
		<dc:creator>doug</dc:creator>
		<pubDate>Thu, 23 Apr 2009 12:09:18 +0000</pubDate>
		<guid isPermaLink="false">http://dougdiego.com/?p=95#comment-264</guid>
		<description>You need to set your class as the UIWebViewDelegate.  Modify MyWebView.h to look like:

@interface MyWebView : UIWebView &lt;UIWebViewDelegate&gt; {</description>
		<content:encoded><![CDATA[<p>You need to set your class as the UIWebViewDelegate.  Modify MyWebView.h to look like:</p>
<p>@interface MyWebView : UIWebView <uiwebviewdelegate> {</uiwebviewdelegate></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://dougdiego.com/2008/10/12/open-link-in-safari/comment-page-1/#comment-251</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Wed, 15 Apr 2009 20:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://dougdiego.com/?p=95#comment-251</guid>
		<description>Hi.. I try to add this method in an UIWebViewDelegate...
but it&#039;s never called...

I have miss something ?

file MyWebView.h:
#import 
@interface MyWebView : UIWebView  {
}
@end

file MyWebView.m:
#import &quot;MyWebView.h&quot;
@implementation MyWebView
-(BOOL)shouldStartLoadWithRequest:(NSURLRequest *)request 
	navigationType:(UIWebViewNavigationType)navigationType; {  
	NSLog(@&quot;call shouldStartLoadWithRequest&quot;);
...
}</description>
		<content:encoded><![CDATA[<p>Hi.. I try to add this method in an UIWebViewDelegate&#8230;<br />
but it&#8217;s never called&#8230;</p>
<p>I have miss something ?</p>
<p>file MyWebView.h:<br />
#import<br />
@interface MyWebView : UIWebView  {<br />
}<br />
@end</p>
<p>file MyWebView.m:<br />
#import &#8220;MyWebView.h&#8221;<br />
@implementation MyWebView<br />
-(BOOL)shouldStartLoadWithRequest:(NSURLRequest *)request<br />
	navigationType:(UIWebViewNavigationType)navigationType; {<br />
	NSLog(@&#8221;call shouldStartLoadWithRequest&#8221;);<br />
&#8230;<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
