iOS 複製圖片到剪切版:解決iOS6問題

複製UIImage到剪切版,在iOS 6
[[UIPasteboard generalPasteboard]setImage:_imageResult];
無效
使用如下代碼
[[UIPasteboard generalPasteboard]setData:UIImagePNGRepresentation(_imageResult) forPasteboardType:[UIPasteboardTypeListImage objectAtIndex:0]];



UIPasteboardTypeListImage 數組:

public.png
public.tiff
public.jpeg
com.compuserve.gif
數組

com.apple.uikit.image
相關文章
相關標籤/搜索