add tab or spaces and newline in html string iOS Swift

Solution:

If you are using \r then it will remove the unwanted spaces in your string.

If you want to add spaces in your string better go ahead with spaces you can add manually in the string.

If you want to add new line then add \n inside your string. 

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