<?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 for Moonchaser Software</title>
	<atom:link href="http://www.moonchasersoftware.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.moonchasersoftware.com</link>
	<description></description>
	<lastBuildDate>Wed, 18 May 2011 16:49:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Alan</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-175</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Wed, 18 May 2011 16:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-175</guid>
		<description>Thank you so much!  For reference, it was not properly encoded. When I made it a Linear PCM/.wav file it works perfectly on the device.  The simulator obviously lets you get away with incorrect file formats.</description>
		<content:encoded><![CDATA[<p>Thank you so much!  For reference, it was not properly encoded. When I made it a Linear PCM/.wav file it works perfectly on the device.  The simulator obviously lets you get away with incorrect file formats.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Mike Lashbrook</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-173</link>
		<dc:creator>Mike Lashbrook</dc:creator>
		<pubDate>Wed, 18 May 2011 16:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-173</guid>
		<description>The code I used above was taken directly from Match for Kids and it works normally.  Without code I can only guess as to the problem, but my best guess is that the sound file you are using is invalid (i.e. not encoded properly) or is more than 30 seconds long.  

See if your sound file follows these rules: &lt;a href=&quot;http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/IPhoneOSClientImp/IPhoneOSClientImp.html#//apple_ref/doc/uid/TP40008194-CH103&quot; rel=&quot;nofollow&quot;&gt;IOS Docs: Scheduling, Registering, and Handling Notifications&lt;/a&gt;

Hope this helps.</description>
		<content:encoded><![CDATA[<p>The code I used above was taken directly from Match for Kids and it works normally.  Without code I can only guess as to the problem, but my best guess is that the sound file you are using is invalid (i.e. not encoded properly) or is more than 30 seconds long.  </p>
<p>See if your sound file follows these rules: <a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/IPhoneOSClientImp/IPhoneOSClientImp.html#//apple_ref/doc/uid/TP40008194-CH103" rel="nofollow">IOS Docs: Scheduling, Registering, and Handling Notifications</a></p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Alan</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-172</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Wed, 18 May 2011 16:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-172</guid>
		<description>This works for me on the simulator but not on the device (iOS4).   The alert box &#039;Exited!&#039; shows up, but the sound doesn&#039;t play (both work on the simulator).

Is this likely to be because it is taking too long to call it, or could it be something else?

Thanks in advance</description>
		<content:encoded><![CDATA[<p>This works for me on the simulator but not on the device (iOS4).   The alert box &#8216;Exited!&#8217; shows up, but the sound doesn&#8217;t play (both work on the simulator).</p>
<p>Is this likely to be because it is taking too long to call it, or could it be something else?</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by mb2m1ZR</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-168</link>
		<dc:creator>mb2m1ZR</dc:creator>
		<pubDate>Mon, 18 Apr 2011 19:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-168</guid>
		<description>I want to post quick hello and want to say appriciate for this good article. 9QRFtmsH2cQzhs</description>
		<content:encoded><![CDATA[<p>I want to post quick hello and want to say appriciate for this good article. 9QRFtmsH2cQzhs</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Jarrold</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-148</link>
		<dc:creator>Jarrold</dc:creator>
		<pubDate>Sat, 12 Mar 2011 06:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-148</guid>
		<description>Thanks this has helped me!</description>
		<content:encoded><![CDATA[<p>Thanks this has helped me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Respiratory Therapist</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-118</link>
		<dc:creator>Respiratory Therapist</dc:creator>
		<pubDate>Fri, 24 Dec 2010 13:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-118</guid>
		<description>Great information! I’ve been looking for something like this for a while now. Thanks!</description>
		<content:encoded><![CDATA[<p>Great information! I’ve been looking for something like this for a while now. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by information technology</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-110</link>
		<dc:creator>information technology</dc:creator>
		<pubDate>Mon, 20 Dec 2010 01:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-110</guid>
		<description>found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later</description>
		<content:encoded><![CDATA[<p>found your site on del.icio.us today and really liked it.. i bookmarked it and will be back to check it out some more later</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Mike Lashbrook</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-99</link>
		<dc:creator>Mike Lashbrook</dc:creator>
		<pubDate>Wed, 01 Dec 2010 21:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-99</guid>
		<description>Yes.  If you set the alertBody to nil, then it will only play the sound.  

An updated example from above would be:

[code lang=&quot;objc&quot;]
UIApplication* app = [UIApplication sharedApplication];
 
// Create a new notification
UILocalNotification* alarm = [[[NSClassFromString(@&quot;UILocalNotification&quot;) alloc] init] autorelease];
if (alarm)
{
     alarm.fireDate = nil;
     alarm.repeatInterval = 0;
     alarm.soundName = @&quot;ExitSound2.wav&quot;;
     
     alarm.alertBody = nil; //Change this to nil and only the sound will play.

     alarm.hasAction=NO;
 
    [app presentLocalNotificationNow:alarm];  //This schedules the notification to happen ASAP
}
[/code]</description>
		<content:encoded><![CDATA[<p>Yes.  If you set the alertBody to nil, then it will only play the sound.  </p>
<p>An updated example from above would be:</p>
<pre class="brush: objc; title: ; notranslate">
UIApplication* app = [UIApplication sharedApplication];

// Create a new notification
UILocalNotification* alarm = [[[NSClassFromString(@&quot;UILocalNotification&quot;) alloc] init] autorelease];
if (alarm)
{
     alarm.fireDate = nil;
     alarm.repeatInterval = 0;
     alarm.soundName = @&quot;ExitSound2.wav&quot;;

     alarm.alertBody = nil; //Change this to nil and only the sound will play.

     alarm.hasAction=NO;

    [app presentLocalNotificationNow:alarm];  //This schedules the notification to happen ASAP
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by Ben Young</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-98</link>
		<dc:creator>Ben Young</dc:creator>
		<pubDate>Wed, 01 Dec 2010 21:26:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-98</guid>
		<description>This is great stuff! Is there any way to play the sound in iOS4 without showing the alert?</description>
		<content:encoded><![CDATA[<p>This is great stuff! Is there any way to play the sound in iOS4 without showing the alert?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Playing a Sound on Exit in an iPhone App by opthamologist</title>
		<link>http://www.moonchasersoftware.com/playing-a-sound-on-exit-in-an-iphone-app/#comment-88</link>
		<dc:creator>opthamologist</dc:creator>
		<pubDate>Sun, 14 Nov 2010 02:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.digifork.com/?p=1073#comment-88</guid>
		<description>Wow this is a great resource.. I’m enjoying it.. good article</description>
		<content:encoded><![CDATA[<p>Wow this is a great resource.. I’m enjoying it.. good article</p>
]]></content:encoded>
	</item>
</channel>
</rss>

