我如何定期(例如每1秒)通过Alamofire从URL更新我的ImageView UITableViewCell?
答案 0 :(得分:0)
你能不能用计时器做到这一点?
E.G:
var changeImageTimer= Timer.scheduledTimerWithTimeInterval(1.0, target: self, selector: Selector("changeImage"), userInfo: nil, repeats: true)
func changeImage()
{
//Code to change your image here
}