対処UIPasteboardは簡単だと思っていましたが、時間がかかる問題でした...
UIImageに保存してから、この画像を、、... などUIPasteboardに貼り付けたいと思います。iMessageWhatsAppGmail
それが私が使用する私の方法ですUIPasteboard
- (void) postClipboard
{
if ([[modelView currentView] isImage])
{
UIImage *image = [self readyImageLandscape:orientationLandscape];
[[UIPasteboard generalPasteboard] setImage:image];
}
}
で動作しiPhone 3GS 5.1ます。私はそれをテストしましGmailたWhatsApp
次に、メソッドを次のように変更しました
- (void) postClipboard
{
if ([[modelView currentView] isImage])
{
UIImage *image = [self readyImageLandscape:orientationLandscape];
[[UIPasteboard generalPasteboard] setImage:image];
[[UIPasteboard generalPasteboard] setPersistent:YES];
}
}
まだ動作しiPhone 3GS 5.1ます。
しかし、私の雇用主は、他のアプリケーションiPhone 4S 6.0でも動作しないと言っています。WhatsApp
私はすべて間違っていますか、それを機能させる別のアプローチが必要iPhone 4S 6.0ですか?