开发者

Slow loading of RSS feeds into UITableView

I have a YouTube RSS feed set up to show YouTube videos in a table开发者_StackOverflow社区view. When I load the controller though, it takes a long time to load the feed, so it appears for awhile that the app has frozen.

How can I load the view controller first, then show a loading/spinner while my app downloads the feed?


Dont load the feed on the main ui thread run it on background thread .

Take a look at ASINetworkQueue in asihttprequest http://allseeing-i.com/ASIHTTPRequest/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜