I use this block to send message to the contacts, after sending, the back button is there, but when I touch it nothing happens. Please help me out :)
-(IBAct
Like the answers say, you need to dismiss in the delegate. My issue was I was setting delegate instead of messageComposeDelegate (or mailComposeDelegate for the e-mail version).
delegate
messageComposeDelegate
mailComposeDelegate
Be sure you're setting the right delegate :)