If you do the following, Evernote will use
TEXT1
and the pre-line feed only.
If you choose Twitter or email,
TEXT1 TEXT2 TEXT3
and everything is passed, including a new line.
Is there a way to display everything in Evernote as well?
@IBAction functionButton(sender:UIBarButtonItem){
let items=["TEXT1\nTEXT2\nTEXT3"] // Evernote displays TEXT1
// Create an instance by specifying the data you want to pass
let avc = UIAactivityViewController (activityItems: items, applicationActivities:nil)
// Displaying the UIActivityViewController
self.presentViewController(avc, animated:true, completion:nil)
}
It's stuck in the same place, and I share what I understand.(Performed in Evernote 8.0.4)
If you select Evernote in the UIActivityViewController, it seems that only the part that matches the title can be displayed (edited).
When I actually sent it to Evernote, it sent me a text with a new line (in this case, "TEXT1\nTEXT2\nTEXT3").
On the other hand, if you display it on that part, everything will be treated as a title.
In addition, the part you sent as text will be sent to Evernote.
I hope it will be helpful.
© 2024 OneMinuteCode. All rights reserved.