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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -