Video not always exported to Camera Roll: NSFileManager's removeItemAtPath non-blocking?
问题 After reading several tutorials like this and looking at other code exporting videos, we still can't resolve an issue. Sometimes a new video gets exported to the Camera Roll, and sometimes it doesn't. We can't even reproduce the problem consistently. The only issue we can imagine is if NSFileManager.defaultManager().removeItemAtPath is not a blocking call, but no documentation suggests it's asynchronous, so we assume it's not the case. Each time, the "Saved video" println inside the