I want to get the file name from UIImagePickerController. I do not want to use ALAssetLibrary because it is deprecated in iOS 9. I have used the following code
UIImagePickerController
let fileName = (info[.imageURL] as? URL)?.lastPathComponent