码迷,mamicode.com
首页 > 编程语言 > 详细

uiimage可以在线程里处理

时间:2015-06-18 12:56:09      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:

t is true that apple recommends using elements from the UIKIt on the main thread:

Note: For the most part, UIKit classes should be used only from an application’s main thread. This is particularly true for classes derived from UIResponder or that involve manipulating your application’s user interface in any way.

Since UIImage isn‘t derived from UIResponder, and you do not actually display it on the interface/screen. Then doing operations with UIImages on another thread should be safe.

This is however based on my experience, I haven‘t seen any official documentation about it.

uiimage可以在线程里处理

标签:

原文地址:http://www.cnblogs.com/studyNT/p/4585421.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!