{Error Domain=NSPOSIXErrorDomain Code=17 "File exists"}}]... iOS swift

 Problem:

While i tried to copy one image from one path to another path.That time i faced the error like below.

{Error Domain=NSPOSIXErrorDomain Code=17 "File exists"}}]...


Solution:

While copy the file you must have to append the filename in the pasted url path and paste it.Then only it will works good.Otherwise the above error will be occur.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift