UITableViewCell fonda yuklash va tugatish vaqtida ma'lum jadvalga yangilash

SBS News Australia dasturidagi "bo'limlar" kabi jadvallarni ko'rishni xohlayman. Ro'yxat birinchi bo'lib (fon yorlig'i urldan rasm olganda tasvir hali ko'rsatuv ko'rsatilmaydi) va rasm yuklanganidan so'ng yoki URL dan olinsa, u ma'lum jadvalViewCell uchun yangilanadi. Buni qanday amalga oshirishim mumkin? Agar ip ishlatilsa, qanday qilib men asosiy indeksda (performSelectorOnMainThread) yangilash ko'rinishini bajarayotganda tableViewCell-ga muayyan indeksga qaytib boraman?

Rahmat

0

1 javoblar

When you finish loading the cell, call [tableView reloadRowsAtIndexPaths:<#(NSArray *)#> withRowAnimation:<#(UITableViewRowAnimation)#>] and it will redraw it. You can call it from the performSelectorOnMainThread method.

1
qo'shib qo'ydi
Rahmat!
qo'shib qo'ydi muallif edric_s, manba