<?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/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: 5 Ways to Take Screenshots of Your iPhone App</title>
	<atom:link href="http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/feed/" rel="self" type="application/rss+xml" />
	<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/</link>
	<description></description>
	<lastBuildDate>Tue, 09 Mar 2010 06:02:08 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: amarshwren</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-189</link>
		<dc:creator>amarshwren</dc:creator>
		<pubDate>Sun, 07 Mar 2010 23:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-189</guid>
		<description>You can capture screen caps from the iPhone simulator using control-command-C ...I usually use Preview &quot;New from clipboard&quot; and save the result as a PNG.</description>
		<content:encoded><![CDATA[<p>You can capture screen caps from the iPhone simulator using control-command-C &#8230;I usually use Preview &#8220;New from clipboard&#8221; and save the result as a PNG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Jaques</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-150</link>
		<dc:creator>Bart Jaques</dc:creator>
		<pubDate>Fri, 18 Dec 2009 23:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-150</guid>
		<description>I&#039;m trying to capture a small portion of a MKMapView. I have an annotation view that lies overtop.&lt;br&gt;&lt;br&gt;If I pass in the annotation view, all I get is what I draw myself in the annotation view, and nothing from the MKMapView background. Even if I draw nothing and the annotation view is 100% transparent and empty, nothing shows up from the MKMapView.&lt;br&gt;&lt;br&gt;If I pass in the MKMapView, I capture the whole map.&lt;br&gt;&lt;br&gt;If I pass in the MKMapView but use CGContextClipToRect with the small view&#039;s frame or bounds, I get a big image the size of MKMapView, empty but for the clipping rectangle.&lt;br&gt;&lt;br&gt;If I use UIGraphicsBeginImageContext to make a smaller context matching the small view&#039;s size, I only capture the top-left portion of the MKMapView, not the part I want. And calling CGContextClipToRect with the small view&#039;s frame just produces an empty image.&lt;br&gt; &lt;br&gt;Will I have to capture the full map, convert to a bitmap, and extract from that? Is there some other way to do this?</description>
		<content:encoded><![CDATA[<p>I&#39;m trying to capture a small portion of a MKMapView. I have an annotation view that lies overtop.</p>
<p>If I pass in the annotation view, all I get is what I draw myself in the annotation view, and nothing from the MKMapView background. Even if I draw nothing and the annotation view is 100% transparent and empty, nothing shows up from the MKMapView.</p>
<p>If I pass in the MKMapView, I capture the whole map.</p>
<p>If I pass in the MKMapView but use CGContextClipToRect with the small view&#39;s frame or bounds, I get a big image the size of MKMapView, empty but for the clipping rectangle.</p>
<p>If I use UIGraphicsBeginImageContext to make a smaller context matching the small view&#39;s size, I only capture the top-left portion of the MKMapView, not the part I want. And calling CGContextClipToRect with the small view&#39;s frame just produces an empty image.</p>
<p>Will I have to capture the full map, convert to a bitmap, and extract from that? Is there some other way to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek van Vliet</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-75</link>
		<dc:creator>Derek van Vliet</dc:creator>
		<pubDate>Fri, 30 Oct 2009 05:38:16 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-75</guid>
		<description>Ah now I understand.&lt;br&gt;&lt;br&gt;From tests that I have run, it looks like the earliest opportunity to run code happens after the iPhone has cleared away the homescreen and launched your app&#039;s splash screen. I&#039;m not sure it&#039;s possible to take a screenshot of the icons on the homescreen before your app runs, but if there&#039;s a chance, you&#039;ll want to see if you can take a screenshot in the entry point function of the app (eg. main).</description>
		<content:encoded><![CDATA[<p>Ah now I understand.</p>
<p>From tests that I have run, it looks like the earliest opportunity to run code happens after the iPhone has cleared away the homescreen and launched your app&#39;s splash screen. I&#39;m not sure it&#39;s possible to take a screenshot of the icons on the homescreen before your app runs, but if there&#39;s a chance, you&#39;ll want to see if you can take a screenshot in the entry point function of the app (eg. main).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moldie</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-74</link>
		<dc:creator>moldie</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:18:28 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-74</guid>
		<description>Hi, what I was trying to do was capture the screen &#039;before&#039; the app launch so I could then use the png to play around with it in my app - like for fun say load the app in and &quot;appear&quot; to rub out the phone icons with my finger. Any of this making sense? I tried loading a transparent view then using the code but it was blank.</description>
		<content:encoded><![CDATA[<p>Hi, what I was trying to do was capture the screen &#39;before&#39; the app launch so I could then use the png to play around with it in my app &#8211; like for fun say load the app in and &#8220;appear&#8221; to rub out the phone icons with my finger. Any of this making sense? I tried loading a transparent view then using the code but it was blank.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek van Vliet</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-73</link>
		<dc:creator>Derek van Vliet</dc:creator>
		<pubDate>Thu, 29 Oct 2009 21:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-73</guid>
		<description>Hi moldie, I&#039;m having trouble understanding what you are attempting to do. If I read correctly, you&#039;re trying to take a screen capture of your app at run time? If so you can accomplish this with the above code. I don&#039;t understand what you mean by &quot;so it appears that the app is transparent.&quot; Could you please elaborate?</description>
		<content:encoded><![CDATA[<p>Hi moldie, I&#39;m having trouble understanding what you are attempting to do. If I read correctly, you&#39;re trying to take a screen capture of your app at run time? If so you can accomplish this with the above code. I don&#39;t understand what you mean by &#8220;so it appears that the app is transparent.&#8221; Could you please elaborate?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moldie</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-66</link>
		<dc:creator>moldie</dc:creator>
		<pubDate>Wed, 28 Oct 2009 20:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-66</guid>
		<description>Great article, works realy well. What I can&#039;t work out is how to access the iPhone screen from my app so I can make a png in it so it appears that the app is transparent? Any ideas?</description>
		<content:encoded><![CDATA[<p>Great article, works realy well. What I can&#39;t work out is how to access the iPhone screen from my app so I can make a png in it so it appears that the app is transparent? Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Casseres</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-59</link>
		<dc:creator>David Casseres</dc:creator>
		<pubDate>Thu, 15 Oct 2009 23:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-59</guid>
		<description>Thanks, your captureView: is just what I needed.  Well, almost.  I need to capture not&lt;br&gt;the whole screen, but a rectangular portion of it, so I wrote this:&lt;br&gt;&lt;br&gt;- (UIImage*)captureView:(UIView *)view bounds:(CGRect)rect&lt;br&gt;{&lt;br&gt;	UIGraphicsBeginImageContext(CGSizeMake(320, 480));	 &lt;br&gt;	CGContextRef context = UIGraphicsGetCurrentContext();&lt;br&gt;	CGContextClipToRect(context, rect);&lt;br&gt;	[view.layer renderInContext:context];	 &lt;br&gt;	UIImage *img = UIGraphicsGetImageFromCurrentImageContext();	 &lt;br&gt;	UIGraphicsEndImageContext();	 &lt;br&gt;	return img;&lt;br&gt;}&lt;br&gt;&lt;br&gt;which works just fine.</description>
		<content:encoded><![CDATA[<p>Thanks, your captureView: is just what I needed.  Well, almost.  I need to capture not<br />the whole screen, but a rectangular portion of it, so I wrote this:</p>
<p>- (UIImage*)captureView:(UIView *)view bounds:(CGRect)rect<br />{<br />	UIGraphicsBeginImageContext(CGSizeMake(320, 480));	 <br />	CGContextRef context = UIGraphicsGetCurrentContext();<br />	CGContextClipToRect(context, rect);<br />	[view.layer renderInContext:context];	 <br />	UIImage *img = UIGraphicsGetImageFromCurrentImageContext();	 <br />	UIGraphicsEndImageContext();	 <br />	return img;<br />}</p>
<p>which works just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Casseres</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-49</link>
		<dc:creator>David Casseres</dc:creator>
		<pubDate>Thu, 15 Oct 2009 20:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-49</guid>
		<description>Thanks, your captureView: is just what I needed.  Well, almost.  I need to capture not&lt;br&gt;the whole screen, but a rectangular portion of it, so I wrote this:&lt;br&gt;&lt;br&gt;- (UIImage*)captureView:(UIView *)view bounds:(CGRect)rect&lt;br&gt;{&lt;br&gt;	UIGraphicsBeginImageContext(CGSizeMake(320, 480));	 &lt;br&gt;	CGContextRef context = UIGraphicsGetCurrentContext();&lt;br&gt;	CGContextClipToRect(context, rect);&lt;br&gt;	[view.layer renderInContext:context];	 &lt;br&gt;	UIImage *img = UIGraphicsGetImageFromCurrentImageContext();	 &lt;br&gt;	UIGraphicsEndImageContext();	 &lt;br&gt;	return img;&lt;br&gt;}&lt;br&gt;&lt;br&gt;which works just fine.</description>
		<content:encoded><![CDATA[<p>Thanks, your captureView: is just what I needed.  Well, almost.  I need to capture not<br />the whole screen, but a rectangular portion of it, so I wrote this:</p>
<p>- (UIImage*)captureView:(UIView *)view bounds:(CGRect)rect<br />{<br />	UIGraphicsBeginImageContext(CGSizeMake(320, 480));	 <br />	CGContextRef context = UIGraphicsGetCurrentContext();<br />	CGContextClipToRect(context, rect);<br />	[view.layer renderInContext:context];	 <br />	UIImage *img = UIGraphicsGetImageFromCurrentImageContext();	 <br />	UIGraphicsEndImageContext();	 <br />	return img;<br />}</p>
<p>which works just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://getsetgames.com/2009/07/30/5-ways-to-take-screenshots-of-your-iphone-app/comment-page-1/#comment-20</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Thu, 20 Aug 2009 21:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://getsetgames.com/?p=139#comment-20</guid>
		<description>Nice article, you can also add this tool to the list, which specifically captures the simulator:&lt;br&gt;&lt;a href=&quot;http://www.curioustimes.de/iphonesimulatorcropper/index.html&quot; rel=&quot;nofollow&quot;&gt;http://www.curioustimes.de/iphonesimulatorcropp...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Nice article, you can also add this tool to the list, which specifically captures the simulator:<br /><a href="http://www.curioustimes.de/iphonesimulatorcropper/index.html" rel="nofollow"></a><a href="http://www.curioustimes.de/iphonesimulatorcropp.." rel="nofollow">http://www.curioustimes.de/iphonesimulatorcropp..</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
