dispatch_sync(), add operations synchronously. He waits for the operation added to the queue to complete before continuing.
dispatch_async , asynchronously added to the task queue, it will not do any waiting
dispatch_async 和dispatch_sync
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326853391&siteId=291194637
Recommended
Ranking