I want to do a really simple iPhone app: when I start the app it will launch the Mail app.
I found this:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mailto://foo@bar.com"]];
But:
– What kind of projet in xcode I have to create (view based application, windows based application) ?
– Then where do I have to put the line of code?
I tried few things, but nothing worked…
Sorry for my stupid question…
Thanks a lot in advance!
But it wouldn’t hurt to spend some seconds in the documentation!