iphone Three20 TTMessageController Address Book -


I am trying to use TTMessageController for three 20 to send messages via custom web service. I'm not clear how can I include contacts from the user's address book. I see the model duplicate address book in the sample app, but the sample contains only names. What is a way to set TTMessageController's data source as an address book?

Thank you, Howe

You should use the MFMailComposeViewController. The TTMessageController was created before iOS 3, when the email functionality of the app was not present in Apple's SDK. MFMailComposeViewController does much more to do that most developers want to do it and it automatically uses the device's contacts, so you do not have to go through the problem of setting up the model yourself.

Using TTMessageController would be a good solution if you need to customize the presentation of the field or customize the delivery of the message.

IOS Documentation (Sending mail message):


Comments