string - Inserting carriage returns when sending text to the iOS Calendar -


i'm sending text ios calendar using following code.

event.title = " \(jobtitle) \r\n" + "\(jobdescription)" 

this not work. don't carriage return. know of work around job titles , job descriptions display on multiline when sending event.title?

event.title = "\(jobtitle)\n\(jobdescription)" 

should works.

note: not every view in ios calendar application correctly display multi-line title event.

for example:

ev.title = "testjobtitle\ntest job description" 

list view:
screenshot3
detail view:
screenshot1
grid view:
screenshot2


Comments

Popular posts from this blog

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -