I would like to say in advance that I am totally new to iOS development and I have started online courses and reading documentation but the initial information is overwhelming, so any help with the following scenario is greatly appreciated. I also tried to search but the vast majority of examples are for content shared out of "MyApp".
Given a simple iOS app MyApp with a single Text field
When I open Safari and long tap on a link and select Share
Then MyApp will appear in the list of potential sharing targets (like Messages for example)
And when I select MyApp as the target
Then MyApp will open and the Text field will display the received URL.