标签: c# android xamarin gallery photos
我试过了:
文件fdelete =新文件(ImageFile._dir.AbsolutePath +" /img.jpg"); if(fdelete.Exists()) { if(fdelete.Delete()) { Console.WriteLine("删除"。); } }
ImageFile._dir.AbsolutePath返回:/storage/emulated/0/Pictures/Gifs
ImageFile._dir.AbsolutePath
/storage/emulated/0/Pictures/Gifs
提前致谢:)