title: Share files on iCloud drive between to different appleIDs
body: <p>On OS X it seems to can share a file these days much like say dropbox or another, by right clicking it and choosing the application you want to get the link.</p>
  
  <p><a href="https://i.stack.imgur.com/Yhuxz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yhuxz.png" alt="enter image description here"></a></p>
  
  <p>So in this picture for example I can Mail user A and user B a copy of the files I want to share. But how to capture/export that link so that I can write an app that is able to access a shared icloud drive file/directory. I know the functionality exists in dropbox and I think Google drive and I see a few posts here suggesting it wasn't possible [in the past] with iCloud; and yet it evidently it is these days if I can figure out how to access that link I send across in Mail within an app?</p>