<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>iPhone Application Developer - iPhone Developer Labs - iPhone Application Development &#187; iPhone OS Bugs</title>
	<atom:link href="http://www.iphonedeveloperlabs.com/tag/iphone-os-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iphonedeveloperlabs.com</link>
	<description>iPhone application developer resource - application development, updates &#38; news for iphone developers</description>
	<lastBuildDate>Mon, 30 Aug 2010 11:51:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Memory Issues in iPhone OS 3.0 : Sample Code</title>
		<link>http://www.iphonedeveloperlabs.com/2009/08/26/memory-issues-in-iphone-os-3-0-sample-app/</link>
		<comments>http://www.iphonedeveloperlabs.com/2009/08/26/memory-issues-in-iphone-os-3-0-sample-app/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 11:23:08 +0000</pubDate>
		<dc:creator>Ravi Korukonda</dc:creator>
				<category><![CDATA[iPhone OS Bugs]]></category>
		<category><![CDATA[iPhone SDK Tutorials]]></category>
		<category><![CDATA[iPhone App Developers]]></category>
		<category><![CDATA[iPhone app Developers help]]></category>
		<category><![CDATA[iPhone Application sample code]]></category>
		<category><![CDATA[iPhone OS 3.0]]></category>
		<category><![CDATA[iPhone OS 3.0 issues]]></category>

		<guid isPermaLink="false">http://www.iphonedeveloperlabs.com/?p=88</guid>
		<description><![CDATA[
			
				
			
		
As mentioned in a previous article by Rama Krishna the memory issues in iPhone OS 3.0 relating to UIImageView can be reproduced easily. And here is such a re-production. You can download the iPhone sample application and see for yourself what the problem is. Just open the project, build it for the device (not the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.iphonedeveloperlabs.com%2F2009%2F08%2F26%2Fmemory-issues-in-iphone-os-3-0-sample-app%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.iphonedeveloperlabs.com%2F2009%2F08%2F26%2Fmemory-issues-in-iphone-os-3-0-sample-app%2F&amp;source=iphonedevlabs&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>As mentioned in a previous article by <a href="http://www.iphonedeveloperlabs.com/author/rama-krishna/">Rama Krishna</a> the memory issues in iPhone OS 3.0 relating to UIImageView can be reproduced easily. And <a href="http://www.iphonedeveloperlabs.com/testImageViewfor3.0.zip">here</a> is such a re-production. You can download the iPhone sample application and see for yourself what the problem is. Just open the project, build it for the device (not the simulator) and run it with Instruments (ObjectAlloc) to see a nice little upwards running ramp developing on screen.</p>
<p>Oh!! but remember to run the app on iPhone OS 3.0 and not on iPhone OS 3.1 (the bug has apparently been patched for this version)</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>August 24, 2009 -- <a href="http://www.iphonedeveloperlabs.com/2009/08/24/custom-url-schemes-and-launching-other-applications-best-practices-for-iphone-os-3-0/" title="Custom URL schemes and Launching other applications &#8212; Best Practices for iPhone OS 3.0">Custom URL schemes and Launching other applications &#8212; Best Practices for iPhone OS 3.0</a> (0)</li><li>November 5, 2009 -- <a href="http://www.iphonedeveloperlabs.com/2009/11/05/adhoc-installation-issues-on-windows-pc/" title="Adhoc installation issues on Windows PC">Adhoc installation issues on Windows PC</a> (3)</li><li>September 21, 2009 -- <a href="http://www.iphonedeveloperlabs.com/2009/09/21/apple-announced-app-store-resource-center-for-iphone-app-developers/" title="Apple Announced App Store Resource Center for iPhone App Developers">Apple Announced App Store Resource Center for iPhone App Developers</a> (0)</li><li>August 19, 2009 -- <a href="http://www.iphonedeveloperlabs.com/2009/08/19/apple-at-it-again/" title="Apple at it again!!">Apple at it again!!</a> (3)</li><li>April 7, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/04/07/5-predictions-about-iphone-os-4-features/" title="5 Predictions About iPhone OS 4 Features">5 Predictions About iPhone OS 4 Features</a> (1)</li></ul>
	Tags: <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-developers/" title="iPhone App Developers" rel="tag nofollow">iPhone App Developers</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-developers-help/" title="iPhone app Developers help" rel="tag nofollow">iPhone app Developers help</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-application-sample-code/" title="iPhone Application sample code" rel="tag nofollow">iPhone Application sample code</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-3-0/" title="iPhone OS 3.0" rel="tag nofollow">iPhone OS 3.0</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-3-0-issues/" title="iPhone OS 3.0 issues" rel="tag nofollow">iPhone OS 3.0 issues</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-bugs/" title="iPhone OS Bugs" rel="tag nofollow">iPhone OS Bugs</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.iphonedeveloperlabs.com/2009/08/26/memory-issues-in-iphone-os-3-0-sample-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apple at it again!!</title>
		<link>http://www.iphonedeveloperlabs.com/2009/08/19/apple-at-it-again/</link>
		<comments>http://www.iphonedeveloperlabs.com/2009/08/19/apple-at-it-again/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 13:31:49 +0000</pubDate>
		<dc:creator>Rama Krishna</dc:creator>
				<category><![CDATA[iPhone OS Bugs]]></category>
		<category><![CDATA[iPhone SDK Issues]]></category>
		<category><![CDATA[iPhone App Development]]></category>
		<category><![CDATA[iPhone OS]]></category>
		<category><![CDATA[iPhone OS 3.0 issues]]></category>

		<guid isPermaLink="false">http://www.iphonedeveloperlabs.com/?p=41</guid>
		<description><![CDATA[
			
				
			
		
Apple&#8217;s release of iPhone OS 3.0 was eagerly awaited by the iPhone developer as well as the user community alike. But since it has been released I haven&#8217;t been able to get a good night&#8217;s sleep, not because of the cool new features it had using which I could create new exiting applications, but because [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.iphonedeveloperlabs.com%2F2009%2F08%2F19%2Fapple-at-it-again%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.iphonedeveloperlabs.com%2F2009%2F08%2F19%2Fapple-at-it-again%2F&amp;source=iphonedevlabs&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Apple&#8217;s release of iPhone OS 3.0 was eagerly awaited by the <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-developers/">iPhone developer</a> as well as the user community alike. But since it has been released I haven&#8217;t been able to get a good night&#8217;s sleep, not because of the cool new features it had using which I could create new exiting applications, but because of the bugs it has in it&#8217;s new iPhone OS 3.0.</p>
<p>Ever since Apple has released the new iPhone OS, I have been looking around for a fix to the problem I have seen with UIImageViews. Frantically &#8220;Google&#8221;ing for a fix, searching Apple iPhone Documentation again and again just to see if I have missed anything in the Release Notes and Change Logs of the <a href="http://www.iphonedeveloperlabs.com/category/iphone-application-development-sdk-help/">iPhone SDK</a> for UIImageView have not yielded any result. My self imposed deadlines to update all my apps for iPhone OS 3.0 have been breached and a resolution was not in sight.</p>
<p>The bug in UIImageView was its memory usage. As long as an image on screen is left alone after being created, nothing happens. But if you have any sinister designs on your mind, of moving/resizing the image on screen memory usage starts increasing. And there is no way you could do anything to bring the memory usage down, even releasing the image view object does not work.</p>
<p>And the most important finding in this issue is that &#8220;there are no memory leaks&#8221;. All the memory allocated is always being used!! That is what I had to believe, but performance of my applications on iPhone was rapidly falling down with the amount of time spent on it. Clearly indicating to me that there was something odd with the new iPhone OS.</p>
<p>A detailed <a href="https://bugreport.apple.com">bug report</a> that I sent to Apple received a reply stating</p>
<blockquote><p>This is due to a bug in the graphics system that mis-reports how it is allocating memory to ObjectAlloc, which causes it to display memory usage as continuously increasing.<br />
If you attach the Memory Monitor instrument to your sample application, you will find that the Real Memory usage stays constant through out the application&#8217;s execution, indicating that while ObjectAlloc believes memory usage is increasing, it really is not.</p></blockquote>
<p>For a couple of days, I was devastated at receiving that reply. So, no way out for me from this situation? Are all my app users going to give me bad ratings for no fault of mine?</p>
<p>Fortunately, I received another e-mail from Apple Support acknowledging that</p>
<blockquote><p>this is a known issue, which is currently being investigated by engineering</p></blockquote>
<p>Obviously someone else has already reported the issue, but the above response is only a &#8220;consolation prize&#8221; for me and nothing in the equation between me and my application purchasers changed. They are still going to complain that my apps are resource hogging and give them bad ratings.</p>
<p>This issue seems to be fixed in iPhone OS 3.1 and beyond, but the damage is already done!! Will all iPhone/iPodTouch users update their devices promptly?</p>
<p>Hope your applications are not plagued with these problems, and/or you have found an alternative to overcome this problem.</p>
<p>Happy programming!!</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>March 15, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/03/15/good-news-for-app-developers-multi-tasking-added-to-os-4-0/" title="Good News for App Developers : Multi-Tasking Added to OS 4.0">Good News for App Developers : Multi-Tasking Added to OS 4.0</a> (0)</li><li>August 26, 2009 -- <a href="http://www.iphonedeveloperlabs.com/2009/08/26/memory-issues-in-iphone-os-3-0-sample-app/" title="Memory Issues in iPhone OS 3.0 : Sample Code">Memory Issues in iPhone OS 3.0 : Sample Code</a> (2)</li><li>August 2, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/08/02/sharpen-your-skills-as-an-iphone-developer/" title="Sharpen Your Skills as an iPhone Developer">Sharpen Your Skills as an iPhone Developer</a> (0)</li><li>June 1, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/06/01/will-microsoft-bing-really-gonna-be-a-default-search-engine-for-iphone/" title="Will Microsoft Bing really gonna be a default search for iPhone? ">Will Microsoft Bing really gonna be a default search for iPhone? </a> (0)</li><li>May 27, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/05/27/steve-ballmer-microsofts-ceo-rumored-to-be-at-apple-wwdc-2010/" title="Steve Ballmer, Microsoft&#8217;s CEO rumored to be at Apple&#8217;s WWDC 2010">Steve Ballmer, Microsoft&#8217;s CEO rumored to be at Apple&#8217;s WWDC 2010</a> (0)</li></ul>
	Tags: <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-development/" title="iPhone App Development" rel="tag nofollow">iPhone App Development</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os/" title="iPhone OS" rel="tag nofollow">iPhone OS</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-3-0-issues/" title="iPhone OS 3.0 issues" rel="tag nofollow">iPhone OS 3.0 issues</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-bugs/" title="iPhone OS Bugs" rel="tag nofollow">iPhone OS Bugs</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.iphonedeveloperlabs.com/2009/08/19/apple-at-it-again/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
