iOS 8 today widget stops working after a while

前端 未结 4 469
青春惊慌失措
青春惊慌失措 2021-01-30 11:38

I\'ve made a today widget for the german ice hockey league DEL.

I\'m loading the next games from our server an show them in a tableView. The loading process is started i

4条回答
  •  梦谈多话
    2021-01-30 12:05

    An additional problem is that once widgetPerformUpdateWithCompletionHandler: is stopped being called, there will never be another completion handler to call. I haven't found a way to make the system call widgetPerformUpdateWithCompletionHandler: again. Therefore, make sure your widget will also try to reload data through viewWillAppear: as a fallback, or some users might be stuck with a non-loading widget.

提交回复
热议问题