pixelbitlabs
pixelbitlabs

Reputation: 1934

How to create a mail client with iPhone texting style view?

I would like to create a messaging service on my app which would look like the texting interface on the iPhone. The mail client would be used with Google Mail, so I would need to get the username and password from UITextFields.

Could this be done with the Google API and with the texting/messaging style interface?

Thank you,

James

Upvotes: 1

Views: 3567

Answers (3)

Beltalowda
Beltalowda

Reputation: 4678

This video tutorial (or this one that subclasses UITableViewCell) shows a pretty simple way of creating an SMS-style user interface; they even give you a link to the Xcode project from the tutorial video and a zip file with the images you would need to pull this off. This is done by customizing the cells of a UITableView to get the message data to display in the correct style.

Upvotes: 1

seanwolter
seanwolter

Reputation: 324

Google's Gmail API's will get you SMTP/IMAP access, but that's about it. It won't make sending and receiving email especially easy. http://code.google.com/apis/gmail/

If you're interested in integrating Google services into your iOS apps take a look at Google's drop-in OAuth implementation: http://code.google.com/p/gtm-oauth2/

Your idea is possible, but it won't be easy and Apple generally rejects third-party email clients. Good luck

Upvotes: 1

A. Wilcox
A. Wilcox

Reputation: 1832

You should probably use the mail account already on the device and use the MFMailComposeViewController class to send the message. This would provide you a native Apple-style message interface and also be future-proof, in case the message interface changes in a later revision of iOS.

Upvotes: 2

Related Questions