I have a mailto: link in UIWebView, but when I tap it nothing happens,
How can I open email editor?
thanks
I've tried in this moment with mobile safari on my iPhone and when I tap on a mailto: link it open email composer.
Are you trying to do this in iPhone simulator?
If not, have you configured an email account on you iPhone?
Related
Just using a link to a youtube video in an e-blast, works fine in any email client, but iOS won't open video. It opens youtube app and says 'can't open video' simple as that.
Anyone with experience in this?
I'm assuming you can't do any if/then being that you'll screw up some other email client.
If the video is disabled for playback on mobile devices (on the youtube video settings), this would happen.
actually am developing an iOS application that allows the user to send his position via mail or sms.
I want just to send an email containing a link like http://maps.google.com/maps?q=London
Then the receiver have just to touch that link to open maps application
Is there any way to do that
thank in advance
That's built-in to the Mail app in iOS. If you send yourself http://maps.google.com/maps?q=London in an email, and open it on an iOS device it will automatically link it to the Maps app. If you want to link to the Maps app from a different app see this link How can I launch the Google Maps iPhone application from within my own native application?
You can do something like putting a hyper link inside the message body of the email, and setting the isHTML property to YES when making the message body of your MFMailComposeViewController.
Try looking into the MFMessageComposeViewController and MFMailComposeViewController classes. MFMessageComposeViewController has the body property while MFMailComposeViewController has the setMessageBody:isHTML: method.
After you implement these modal view controller you can easily take http://maps.google.com/maps?q=London set the respective property/use the respective method to fill the message/email body with your maps link along with any other text you want to add.
I have an app where I want to send mail.I have a button where it directs to the MailComposer sheet,It works pretty well in my simulator but can't send the mail so I need to use the device my problem was every time I clicked the button to direct it's mail composer the device doesn't support the MFMailComposer sheet, the device that I was using was a 3G iphone.
Check if the device has at least one mail account added.
How can I send a SMS from an iPhone programmatically?
Yesterday, I found an example code and coded it but the code gave me a SMS dialog (internal SMS dialog).
I just want to send a SMS programmatically without the internal SMS dialog.
Is there any example code?
Unfortunately, what you describe is completely impossible without a jailbroken device.
I would like to make an app to open the native app mail on my iPhone. The problem is that I'm able to do it but the mail app opens on compose a new blank Message, and not on the Main view.
There is no way to open other apps from an iPhone application.
You can only open the Mail app via a mailto URL, and that -as you said- will give you the compose view.