ios - Send a text as email with receiver (me) already inserted? -


i give users possibility send me improvement proposals (hope that's word) entering text in text field , submitting it. process should this:

  1. you click "improvement proposal"-button
  2. a uialert text field opening
  3. you enter text , click on submit
  4. a new email opening , email address inserted receiver

how do that? well, got step 1 3, step 4 point i'm having trouble with.

is possible , if yes, how?

that possible using mfmailcomposeviewcontroller. can write

let composevc = mfmailcomposeviewcontroller() //...further setup... composevc.setmessagebody("this proposal:", ishtml: false) composevc.settorecipients(["myadress@example.com"]) self.presentviewcontroller(composevc, animated: true, completion: nil) 

Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -