ios - WatchKit adding images to cache callback -


i'm working on photo sharing app extension apple watch.

therefore need display user's images similar instagram etc.

question: there way find progress of addcachedimagewithdata:name: ?

is blocking? (i don't think so, maybe i'm waiting else..)

[[wkinterfacedevice currentdevice] addcachedimagewithdata:imagedata name:imagename]; 

i show interface user after images loaded (or interface empty...)

addcachedimagewithdata:name: seems call [spcompanionassetcache addimagetopermanentcache:withname:] access mutual exclusion , totally synchronusly using objc_sync_enter/objc_sync_exit procedure send request apple watch.

i guess return value connection status. in context can assume caching procedure synchronous.

tl;dr: no, can't progress transfer.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -