私は現在の図面を電子メールで送信する必要がある描画アプリケーションに取り組んでいます。私は現在の画面のスクリーンショットを取得することができました。しかし、どうすればMFMailComposeViewControll
のメールでその画像を送ることができますか?ここiOsメールに私の現在の画面を追加する
UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *currentScreen = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
ありがとう。それは魅力的だった – BigAppleBump