public static void SaveToPhotosAlbum(string path, SaveStatus status) { if (path == null) throw new ArgumentNullException ("path"); if (status == null) throw new ArgumentNullException ("status"); UIApplication.EnsureUIThread (); var dis = new UIVideoStatusDispatcher (status); using (var ns = new NSString (path)) UISaveVideoAtPathToSavedPhotosAlbum (ns.Handle, dis.Handle, Selector.GetHandle (UIVideoStatusDispatcher.callbackSelector), IntPtr.Zero); }
public static void SaveToPhotosAlbum(string path, SaveStatus status) { if (path == null) { throw new ArgumentNullException("path"); } if (status == null) { throw new ArgumentNullException("status"); } UIApplication.EnsureUIThread(); var dis = new UIVideoStatusDispatcher(status); using (var ns = new NSString(path)) UISaveVideoAtPathToSavedPhotosAlbum(ns.Handle, dis.Handle, Selector.GetHandle(UIVideoStatusDispatcher.callbackSelector), IntPtr.Zero); }