문제

I have a lot of images in my app so I decided to do some loading in a background thread, and since UIKit isn't thread-safe, I filled arrays with CGImageRefs. However, they are not cached and I need to be able to access them fast so my question is:

How to cache CGImageRef, or cache the UIImage derived from it later on in the main thread?

도움이 되었습니까?

해결책

클릭 핸들러에 다음을 추가했습니다.

$('input.high').not(this).attr('checked', null).closest('tr').css('background-color', '#fff');
.

참조 : http://jsfiddle.net/fnvxt/6/

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top