Invalid escape sequence when declare a long string error in swift iOS

Solution:

If you tried to declare a long string then divide that string into multiple and save in few variable and finally combine into single variable.

If it contains \ character then it says the above error.

Or if your string contains invalid "" sequence then also says the same error.Try to solve those things and compile it will works... 

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift