<?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: Mail Send from iPad</title>
	<atom:link href="http://www.edumobile.org/iphone/ipad-development/mail-send-from-ipad/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edumobile.org/iphone/ipad-development/mail-send-from-ipad/</link>
	<description></description>
	<lastBuildDate>Tue, 09 Aug 2011 22:18:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Charlie Sheen</title>
		<link>http://www.edumobile.org/iphone/ipad-development/mail-send-from-ipad/comment-page-1/#comment-2624</link>
		<dc:creator>Charlie Sheen</dc:creator>
		<pubDate>Thu, 03 Feb 2011 18:29:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.edumobile.org/iphone/?p=2504#comment-2624</guid>
		<description>I very glad to find this site on bing, just what I was searching for : D also bookmarked .</description>
		<content:encoded><![CDATA[<p>I very glad to find this site on bing, just what I was searching for : D also bookmarked .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kacper86</title>
		<link>http://www.edumobile.org/iphone/ipad-development/mail-send-from-ipad/comment-page-1/#comment-2397</link>
		<dc:creator>Kacper86</dc:creator>
		<pubDate>Wed, 22 Sep 2010 13:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.edumobile.org/iphone/?p=2504#comment-2397</guid>
		<description>@Dominik:
I found out, that unless you have mail configured you got this crash. My solution:

	MFMailComposeViewController* controller =   [[MFMailComposeViewController alloc] init];
	controller.mailComposeDelegate = self;
	[controller setToRecipients:recipients];
	[controller setSubject:@&quot;&quot;];
	[controller setMessageBody:body isHTML:NO]; 
	if (controller != nil) {
		[self presentModalViewController:controller animated:YES];
		[controller release];
	}

This &quot;if&quot; helped :) I hope there won&#039;t be a memory leak.</description>
		<content:encoded><![CDATA[<p>@Dominik:<br />
I found out, that unless you have mail configured you got this crash. My solution:</p>
<p>	MFMailComposeViewController* controller =   [[MFMailComposeViewController alloc] init];<br />
	controller.mailComposeDelegate = self;<br />
	[controller setToRecipients:recipients];<br />
	[controller setSubject:@""];<br />
	[controller setMessageBody:body isHTML:NO];<br />
	if (controller != nil) {<br />
		[self presentModalViewController:controller animated:YES];<br />
		[controller release];<br />
	}</p>
<p>This &#8220;if&#8221; helped <img src='http://www.edumobile.org/iphone/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I hope there won&#8217;t be a memory leak.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominik</title>
		<link>http://www.edumobile.org/iphone/ipad-development/mail-send-from-ipad/comment-page-1/#comment-2318</link>
		<dc:creator>Dominik</dc:creator>
		<pubDate>Thu, 26 Aug 2010 16:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.edumobile.org/iphone/?p=2504#comment-2318</guid>
		<description>I imported this project, but I am getting an error running the application on the iPad device. It works perfectly fine on the iPad simulator.

The line of code it is crashing:

[self presentModalViewController:mailController animated:YES];

with this error:

Terminating app due to uncaught exception &#039;NSInvalidArgumentException&#039;, reason: &#039;Application tried to present a nil modal view controller on target

Dose anyone know what could cause this error?</description>
		<content:encoded><![CDATA[<p>I imported this project, but I am getting an error running the application on the iPad device. It works perfectly fine on the iPad simulator.</p>
<p>The line of code it is crashing:</p>
<p>[self presentModalViewController:mailController animated:YES];</p>
<p>with this error:</p>
<p>Terminating app due to uncaught exception &#8216;NSInvalidArgumentException&#8217;, reason: &#8216;Application tried to present a nil modal view controller on target</p>
<p>Dose anyone know what could cause this error?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

