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

renaming files in a directory using python or R -

html - outline-style different in chrome compared to firefox and internet explorer -

ruby on rails - Carrierwave Timeout -