Wait for assetForURL blocks to be completed

前端 未结 5 2098
离开以前
离开以前 2020-12-23 11:57

I would like to wait this code to be executed before to continue but as these blocks are called assynchronously I don\'t know how to do???

NSURL *asseturl;
N         


        
5条回答
  •  不知归路
    2020-12-23 12:44

    The solution is here http://omegadelta.net/2011/05/10/how-to-wait-for-ios-methods-with-completion-blocks-to-finish/

提交回复
热议问题