Does -dataWithContentsOfURL: of NSData work in a background thread?

前端 未结 7 1476
南笙
南笙 2020-12-30 05:39

Does -dataWithContentsOfURL: of NSData work in a background thread?

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-30 06:26

    Also you may use -dataWithContentsOfURL + NSOperation + NSOperationQueue

提交回复
热议问题