"ctrl + return"-code in xml-file FOR IOS [duplicate]




This question already has an answer here:




I load an XML-file with content for my app. In this XML-file I have some

-tags for the HTML and want to replace them by the code for the use in my app. I tried the "\n” as in strings but that is displayed as text. If I open the XML-file in xcode and replace the tags by typing "ctrl" and "return" the line breaks and if I save, upload the file it will be shown right with line break in my app. What is the "code" for that to do it programmatically when loading the XML-file in my app?


Due to marking as duplicate: I don't want to know how to do it for HTML. I want the code for iOS-xcode to make a line-beak visible when used in my app.


No comments:

Post a Comment