2012-05-10 23 views

回答

4

UIImageWriteToSavedPhotosAlbum功能映射到UIImage.SaveToPhotosAlbum

Craig的sample顯示瞭如何在他的博客上使用此API。

EDIT:簡單的示例代碼:(照片是UIImage

photo.SaveToPhotosAlbum((image, error) => { 
    if (error == null) 
     new UIAlertView("", "Saved", null, "OK", null).Show(); 
    else 
     new UIAlertView("", "Failed", null, "OK", null).Show(); 
}); 
相關問題