iphone - How to load images in UIScrollView asynchronously? -


hi,

i getting images using json , need display image @ time when app running please tell me how use asynchronous method load images uiscrollview?

thanks.

whether use uitableview or uiscrollview, use same pattern, have bit more plumbing uiscrollview. use uitableview unless want roll own multi-column image thumbnail picker.

with uiscrollview, need create own virtual rows , columns , detect when scrollview has scrolled new row or new column view. need queue (remove) images have scrolled out of view, , load images have come view. in all, not trivial code.

the uitableview (rows only, no concept of columns)

having said that.. here reference using nsoperation class lazy load images uitableview while giving user smooth experience..

uiimage in uitableviewcell slowdowns scrolling table


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -