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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift