iOS Share Extension - How to access text in notes app?

Hi,


How can I retieve the text from a note, when the user hits the share sheet and clicks on my app?


Thank you

Hi,


look at

self.extensionContext.inputItems

Dirk

What is the "share sheet"? I would like to learn about that. And how do I access .extensionContext? I would like to incorporate into my app something like Apple Notes App. Is there a framework that Apple uses for their Notes App, or is that done some other way? With Core Data, perhaps?

I would recommend you start with the Human Interface Guidelines section on Sharing and Actions: https://developer.apple.com/ios/human-interface-guidelines/extensions/sharing-and-actions


There are links at the bottom of the page for more technical details.

iOS Share Extension - How to access text in notes app?
 
 
Q