I'm wondering if it is possible to share media file using URL to Instagram. Basically I made application capturing picture and video in my own app, and I shared it to other apps. And I used "instagram://library?LocalIdentifier=" + asset.localIdentifier
, and the type of asset
is PHAsset
. But I want to share media file to instagram before saving to Album of real device. If i will do this, i should use URL, not PHAsset
. Do you think there is only one way i can share media file using URL that i should save file and get PHAsset
from device? If you don't, how can I set parameter of instagram://library
to use file url? Please let me know.
And also in official documentation, there is no explanation about library
parameter. Does it mean that parameter can be removed someday?
Thank you!