I used this answer to get a PHAsset
URL, but it run async.
I tried to synchronize it using Semaphore
, mutex
and DispatchGroup
, but no one worked.
I decide to change that answer to get URL synchronously, but I couldn't do it.
I used this answer to get a PHAsset
URL, but it run async.
I tried to synchronize it using Semaphore
, mutex
and DispatchGroup
, but no one worked.
I decide to change that answer to get URL synchronously, but I couldn't do it.