<?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: UIImagePickerController returning nil image</title>
	<atom:link href="http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/</link>
	<description>iPhone Applications</description>
	<lastBuildDate>Mon, 06 Feb 2012 20:55:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Matt Galloway</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-897</link>
		<dc:creator>Matt Galloway</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:29:45 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-897</guid>
		<description>@andrewprocter - One way I heard to do it was to force a memory warning by allocating lots of things which then forces background apps (Mail, Safari, etc) to close which will then leave enough memory for the image picker.

The other thing... we could all submit bug reports!</description>
		<content:encoded><![CDATA[<p>@andrewprocter &#8211; One way I heard to do it was to force a memory warning by allocating lots of things which then forces background apps (Mail, Safari, etc) to close which will then leave enough memory for the image picker.</p>
<p>The other thing&#8230; we could all submit bug reports!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrewprocter</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-896</link>
		<dc:creator>andrewprocter</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:11:16 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-896</guid>
		<description>Hi, I&#039;m having the same issue (using both &quot;didFinishPickingImage&quot; and &quot;didFinishPickingMediaWithInfo&quot;. Has anyone solved this yet? I can&#039;t seem to get anywhere with it, but people are downloading an app of mine and complaining that it happens right away. Some sort of global memory problem?</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;m having the same issue (using both &#8220;didFinishPickingImage&#8221; and &#8220;didFinishPickingMediaWithInfo&#8221;. Has anyone solved this yet? I can&#8217;t seem to get anywhere with it, but people are downloading an app of mine and complaining that it happens right away. Some sort of global memory problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CharlieUK1977</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-218</link>
		<dc:creator>CharlieUK1977</dc:creator>
		<pubDate>Thu, 29 Oct 2009 19:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-218</guid>
		<description>Im getting the exact same problem too.  Using the new &quot;media&quot; method and again if I switch off the iPhone and switch it back on it always works...

...on one site it was recommended you create a singleton within the app delegate for the uiimagepicker, but cant seem to get that to work either :-/</description>
		<content:encoded><![CDATA[<p>Im getting the exact same problem too.  Using the new &#8220;media&#8221; method and again if I switch off the iPhone and switch it back on it always works&#8230;</p>
<p>&#8230;on one site it was recommended you create a singleton within the app delegate for the uiimagepicker, but cant seem to get that to work either :-/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-196</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 20 Oct 2009 19:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-196</guid>
		<description>Yes, this issue is because the memory becomes full. You&#039;ll probably be seeing memory warnings being sent to your objects. You can detect this and handle it properly, but unfortunately there&#039;s not really much that you can do to stop it returning nil, except for releasing some memory from your app such that there is enough available for the image picker to return properly.

If I ever get round to debugging it more then I will post an update.</description>
		<content:encoded><![CDATA[<p>Yes, this issue is because the memory becomes full. You&#8217;ll probably be seeing memory warnings being sent to your objects. You can detect this and handle it properly, but unfortunately there&#8217;s not really much that you can do to stop it returning nil, except for releasing some memory from your app such that there is enough available for the image picker to return properly.</p>
<p>If I ever get round to debugging it more then I will post an update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gamerpig</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-195</link>
		<dc:creator>gamerpig</dc:creator>
		<pubDate>Tue, 20 Oct 2009 19:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-195</guid>
		<description>I&#039;m also running into the same issue on iPhone 3G.  If I reboot the phone, it works.  The funny thing is that UIImagePickerController always returns a good image when getting photo from album.  However, if the source is camera, I get a nil image until I reboot the phone.</description>
		<content:encoded><![CDATA[<p>I&#8217;m also running into the same issue on iPhone 3G.  If I reboot the phone, it works.  The funny thing is that UIImagePickerController always returns a good image when getting photo from album.  However, if the source is camera, I get a nil image until I reboot the phone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Galloway</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-122</link>
		<dc:creator>Matt Galloway</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-122</guid>
		<description>Hi Toby,

I never did find out a solution to the problem, but I&#039;m fairly sure it&#039;s RAM related. I never get it on an iPhone 3GS but it happens all the time on an iPhone 3G. The fix on the 3G is to turn it off and back on, which clears the RAM obviously, so I guess it has to be a RAM issue (and that makes sense anyway).

Not sure if there is a work-around but I really should file a bug with Apple one day. There&#039;s been far too many devs which have come across the problem now!</description>
		<content:encoded><![CDATA[<p>Hi Toby,</p>
<p>I never did find out a solution to the problem, but I&#8217;m fairly sure it&#8217;s RAM related. I never get it on an iPhone 3GS but it happens all the time on an iPhone 3G. The fix on the 3G is to turn it off and back on, which clears the RAM obviously, so I guess it has to be a RAM issue (and that makes sense anyway).</p>
<p>Not sure if there is a work-around but I really should file a bug with Apple one day. There&#8217;s been far too many devs which have come across the problem now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Toby Compton</title>
		<link>http://iphone.galloway.me.uk/2009/07/uiimagepickercontroller-returning-nil-image/comment-page-1/#comment-121</link>
		<dc:creator>Toby Compton</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://iphone.galloway.me.uk/?p=189#comment-121</guid>
		<description>I am too experiencing this problem, and I am using the new delegate method. The strange thing is that most of the time it works just fine, just occasionally (Not even after selecting an image multiple times) it returns a nil image.

I am using the original image, and resizing my self as I didn&#039;t like the crop from image picker. I am releasing the picker correctly.

Did you ever find a solution to this?

Thanks</description>
		<content:encoded><![CDATA[<p>I am too experiencing this problem, and I am using the new delegate method. The strange thing is that most of the time it works just fine, just occasionally (Not even after selecting an image multiple times) it returns a nil image.</p>
<p>I am using the original image, and resizing my self as I didn&#8217;t like the crop from image picker. I am releasing the picker correctly.</p>
<p>Did you ever find a solution to this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

