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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -