1

当您在照片应用程序中选择“通过邮件发送”选项时,我怎么能做附加效果,当背景变暗时,邮件应用程序打开并且图像附加到邮件正文。

4

1 回答 1

0

I am not sure whether CocoaTouch provides a direct API for that. Building it by hand you would probably have to

  1. transform the image or media you would like to attach to a smaller frame
  2. call the Mail API to get the modal Compose View, but keeping your image in the foreground
  3. attach the file to the message via the standard API
  4. find out where Mail puts the image in the mail body
  5. create an animation that looks like it's being placed into the body
于 2009-09-16T11:02:00.233 回答