
<?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 3.0</title>
	<atom:link href="http://www.iphonedeveloperlabs.com/tag/iphone-os-3-0/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>Tue, 07 Feb 2012 12:34:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>5 Predictions About iPhone OS 4 Features</title>
		<link>http://www.iphonedeveloperlabs.com/2010/04/07/5-predictions-about-iphone-os-4-features/</link>
		<comments>http://www.iphonedeveloperlabs.com/2010/04/07/5-predictions-about-iphone-os-4-features/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 12:54:43 +0000</pubDate>
		<dc:creator>Saptarshi Roy Chaudhury</dc:creator>
				<category><![CDATA[iPhone OS]]></category>
		<category><![CDATA[iPhone OS 3.0]]></category>
		<category><![CDATA[iPhone OS 4.0]]></category>
		<category><![CDATA[multi tasking]]></category>

		<guid isPermaLink="false">http://www.iphonedeveloperlabs.com/?p=314</guid>
		<description><![CDATA[Back in 2009 when iPhone OS 3.0 was released the most anticipated feature was multitasking. After a year, now that Apple has decided to preview iPhone OS 4 this Thursday, multitasking still remains as the feature with the highest demand. Of course there are other expectations from users and Apple also promises to throw in [...]]]></description>
			<content:encoded><![CDATA[<p>Back in 2009 when iPhone OS 3.0 was released the most anticipated feature was multitasking. After a year, now that Apple has decided to <a href="http://www.iphonedeveloperlabs.com/2010/04/07/iphone-os-4-to-be-previewed-this-thursday/">preview iPhone OS 4 this Thursday</a>, multitasking still remains as the feature with the highest demand. Of course there are other expectations from users and Apple also promises to throw in a bunch of other changes most of which are tweaks like User Expo, which is the Home Screen for iPhone.</p>
<p>Let’s try to predict some of the features for iPhone OS 4 and we can come back to check once we have the final words from Apple.</p>
<p><strong>Multitasking:</strong> Of course, this is the most expected feature this time. Well, it was rumored last year that iPhone may get Multitasking with the release of <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-3-0/">iPhone OS 3.0</a> but when they previewed it, they showed off Push Notification and positioned it as an alternative to Multitasking. Though, this Push Notification services were first demonstrated with the release of iPhone OS 2.0 however got delayed by a year and finally released in iPhone OS 3.0. Today, when all the iPhone competitors have multitasking as their major feature it becomes all the more essential for iPhone to have multitasking. Let&#8217;s hope Apple finally gives us multitasking with OS 4.0 and just not come up with another weak alternative.</p>
<p><strong>Better Notifications:</strong> iPhone OS 3.0 pushes you the notification right away, whether its an IM you received or to join a multi-player game online. But this notification system is really at its initial stage of development. These notifications come to the user&#8217;s iPhone even when the App is not running in background (as iPhone doesn&#8217;t allow yet). So, the parts of the notification system includes badges count, sound &#038; window popup alert. If you&#8217;re working on any App on your iPhone and you received an Alert Window notification, you can respond to right there. If at all you quit that notification window you need to go to that app and run it &#038; if you forget to do so then you miss it completely. Given the situation it would be extremely helpful for users if Apple improves this notification system, so that the users can view all the unanswered notifications on a separate screen or something similar. Well, let&#8217;s see what iPhone OS 4 has to give us on this.</p>
<p><strong>Better Mail App:</strong> The current Mail App need each accounts to be configured separately. All accounts have their inbox separate from other accounts. So, the whole navigation flow to check your inbox is to tap, tap &#038; tap to go from one inbox to other. It&#8217;s been expected that there will be a common inbox for all the mails account.</p>
<p><strong>Better Syncing:</strong> Apple may introduce a whole new way for syncing Mails, Contacts, Calendar and Multimedia content. Today, iPhone does sync perfectly but there are some itches when it comes to third party syncing options. Like, Google Sync.</p>
<p><strong>Some tweaks with Home Screen:</strong> If at all Apple gets multitasking to iPhone via iPhone OS 4.0, and then we should see some little tweaks with the Home Screen. There can be a better way to switch between Apps. It&#8217;s also expected that iPhone may have more number of Home Screens (if at all they plan to keep same Home Screen pattern), which currently can only hold around 180 apps on 11 screens.</p>
<p>Apart from this, there can be many minor tweaks for iPhone in 4.0 releases. Let&#8217;s wait for 8th April and see what iPhone OS 4.0 has to offer.</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li>April 13, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/04/13/seven-multitasking-service-apis-iphone-developers-would-love/" title="Seven Multitasking Service APIs iPhone Developers Would Love">Seven Multitasking Service APIs iPhone Developers Would Love</a> (0)</li><li>April 12, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/04/12/iphone-os-4-brings-multitasking-to-iphone-3gs-users-only/" title="iPhone OS 4 Brings Multitasking to iPhone 3GS Users Only">iPhone OS 4 Brings Multitasking to iPhone 3GS Users Only</a> (0)</li><li>January 7, 2011 -- <a href="http://www.iphonedeveloperlabs.com/2011/01/07/iphone%e2%80%99s-customer-loyalty-highest-in-the-market/" title="iPhone’s customer loyalty highest in the market">iPhone’s customer loyalty highest in the market</a> (0)</li><li>June 7, 2010 -- <a href="http://www.iphonedeveloperlabs.com/2010/06/07/ios-4-golden-master-release-candidate-is-available-for-iphone-developers/" title="iOS 4 Golden Master Release Candidate is available for iPhone Developers">iOS 4 Golden Master Release Candidate is available for iPhone Developers</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> (1)</li></ul>
	Tags: <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/" title="iPhone OS 3.0" rel="tag nofollow">iPhone OS 3.0</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-os-4-0/" title="iPhone OS 4.0" rel="tag nofollow">iPhone OS 4.0</a>, <a href="http://www.iphonedeveloperlabs.com/tag/multi-tasking/" title="multi tasking" rel="tag nofollow">multi tasking</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.iphonedeveloperlabs.com/2010/04/07/5-predictions-about-iphone-os-4-features/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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[<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> (1)</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>December 20, 2011 -- <a href="http://www.iphonedeveloperlabs.com/2011/12/20/iphone-app-developers-rushing-in-to-submit-apps-before-shut-down/" title="iPhone app developers rushing-in to submit apps before shut down.">iPhone app developers rushing-in to submit apps before shut down.</a> (0)</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>Custom URL schemes and Launching other applications &#8212; Best Practices for iPhone OS 3.0</title>
		<link>http://www.iphonedeveloperlabs.com/2009/08/24/custom-url-schemes-and-launching-other-applications-best-practices-for-iphone-os-3-0/</link>
		<comments>http://www.iphonedeveloperlabs.com/2009/08/24/custom-url-schemes-and-launching-other-applications-best-practices-for-iphone-os-3-0/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 13:40:35 +0000</pubDate>
		<dc:creator>Rama Krishna</dc:creator>
				<category><![CDATA[iPhone SDK Tips]]></category>
		<category><![CDATA[iPhone SDK Tutorials]]></category>
		<category><![CDATA[Best Practices for iPhone OS 3.0]]></category>
		<category><![CDATA[iPhone App Developers]]></category>
		<category><![CDATA[iPhone app Developers help]]></category>
		<category><![CDATA[iPhone App Development]]></category>
		<category><![CDATA[iPhone Custom URL schemes]]></category>
		<category><![CDATA[iPhone OS 3.0]]></category>
		<category><![CDATA[iPhone SDK Help]]></category>

		<guid isPermaLink="false">http://www.iphonedeveloperlabs.com/?p=84</guid>
		<description><![CDATA[Custom URL schemes and Launching other iPhone Applications -- Best Practices for iPhone OS 3.0]]></description>
			<content:encoded><![CDATA[<p>How to open other applications like phone dialer, SMS, Safari, Google Maps, iTunes or <a href="http://www.iphonedeveloperlabs.com/category/appstore-iphone-application-submission-help/">AppStore</a> or any other <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-development/">iPhone applicatio</a>n?</p>
<p>&#8220;openURL&#8221; is the API to use to achieve any of the above and many more.<br />
If you need to let your application users quickly dial APPLE from within your app, just include the following line</p>
<blockquote><p>[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:8006927753"]];</p></blockquote>
<p>Similarly, you could initiate SMS application by using openURL with &#8220;sms: &#8220;, but unfortunately you cannot fill in the SMS content as Apple does not yet support it.<br />
There are many more things you could do with this API like launching Google Maps, Safari with any website like you want or even the AppStore links to your apps which you want the users to buy.</p>
<p><strong>Checking support for URLs of other applications</strong><br />
Until the release of iPhone OS 3.0 it was not possible to find if there are any applications installed on the device which handle the URL scheme you are about to use. But now it is possible through the following API</p>
<blockquote><p>- (BOOL)canOpenURL:(NSURL*)url</p></blockquote>
<p>Call the above API before using &#8220;openURL&#8221; to make sure your call will &#8220;certainly&#8221; be handled by a registered application. If you were <a href="http://www.iphonedeveloperlabs.com/tag/iphone-app-development/">developing an iphone app</a> which lets a phone call be made from within it, do the following</p>
<blockquote><p>// this will fail if the device is an iPod<br />
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"tel:111"]])<br />
{<br />
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:111"]];<br />
}<br />
else<br />
{<br />
// show an Alert here indicating that the call can&#8217;t be completed<br />
}</p></blockquote>
<p>Apart from using &#8220;canOpenURL&#8221;, do check the return value from &#8220;openURL&#8221; too and take appropriate action.</p>
<p>You should also use &#8220;canOpenURL&#8221; to find out if any features (like calling a number and SMS) that are not accessible on iPod should be disabled or hidden. Showing &#8220;phone&#8221; icons and letting them be clicked in your application on an iPod is a sure shot way to get your application rejected for uploading to AppStore.</p>
<p><strong>Registering and handling custom URL schemes</strong><br />
If you are developing a great tool and can be used by other applications, you can register custom URL schemes and implement them. To create custom URL schemes just add them to your application&#8217;s &#8220;info.plist&#8221; file.</p>
<blockquote>
<ul>
<li> To the root element of your application&#8217;s &#8220;info.plist&#8221; file, add a row with key named &#8220;URL types&#8221;.</li>
<li> Expand it to find &#8220;item1&#8243; in it, expand it and edit the value for key &#8220;URL identifier&#8221; to look something like &#8220;com.yourcompany.yoururlscheme&#8221;</li>
<li> Add another row to &#8220;item1&#8243; with key &#8220;URL Schemes&#8221;. Type in the first few characters of your URL scheme.<br />
For an example, if you wish to use url formats like <strong>abc://part1/part2</strong>, just enter &#8220;abc&#8221; for URL Schemes</li>
</ul>
</blockquote>
<p>Once you have created and registered your own URL formats/schemes, you can handle incoming URL requests by implementing the following UIApplicationDelegate method</p>
<blockquote><p>- (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url</p></blockquote>
<p>Before parsing and/or handling the URL, make sure it is in the right format and follows all rules of your URL scheme.</p>
<p>The above method was the only place where you can handle incoming URLs until iPhone OS 3.0 arrived. For iPhone OS 3.0 and above, the <strong>preferred place to handle incoming URLs</strong> is</p>
<blockquote><p>- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions</p></blockquote>
<p>This method should return whatever &#8220;handleOpenURL&#8221; API would have returned if it were implemented. If you implement the above delegate method of UIApplication, IPhone OS will not invoke the following methods</p>
<blockquote><p>- (void)applicationDidFinishLaunching:(UIApplication*)application<br />
- (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url</p></blockquote>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><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 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>July 20, 2011 -- <a href="http://www.iphonedeveloperlabs.com/2011/07/20/box-announces-new-apis-for-ios-and-android-global-challenge-for-app-developers/" title="Box announces new APIs for iOS and Android, global challenge for app developers.">Box announces new APIs for iOS and Android, global challenge for app developers.</a> (0)</li><li>July 1, 2011 -- <a href="http://www.iphonedeveloperlabs.com/2011/07/01/addthis-sdk-available-for-iphone-app-developers/" title="AddThis SDK available for iPhone app developers.">AddThis SDK available for iPhone app developers.</a> (0)</li><li>May 19, 2011 -- <a href="http://www.iphonedeveloperlabs.com/2011/05/19/adknowledge-and-ansca-mobile-join-hands-to-accelerate-iphone-app-development-and-make-it-easy-for-iphone-developer-to-develop-deploy-and-monetize-apps/" title="Adknowledge and Ansca Mobile join hands to make it easy for iPhone developer.">Adknowledge and Ansca Mobile join hands to make it easy for iPhone developer.</a> (0)</li></ul>
	Tags: <a href="http://www.iphonedeveloperlabs.com/tag/best-practices-for-iphone-os-3-0/" title="Best Practices for iPhone OS 3.0" rel="tag nofollow">Best Practices for iPhone OS 3.0</a>, <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-app-development/" title="iPhone App Development" rel="tag nofollow">iPhone App Development</a>, <a href="http://www.iphonedeveloperlabs.com/tag/iphone-custom-url-schemes/" title="iPhone Custom URL schemes" rel="tag nofollow">iPhone Custom URL schemes</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-application-development-sdk-help/" title="iPhone SDK Help" rel="tag nofollow">iPhone SDK Help</a><br />
]]></content:encoded>
			<wfw:commentRss>http://www.iphonedeveloperlabs.com/2009/08/24/custom-url-schemes-and-launching-other-applications-best-practices-for-iphone-os-3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

