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
相关文章
相关标签/搜索