Question:How to use refreshAfterDate in Widget?

I used to refreshAfterDate in listWidget,but it’s not working.

It might help to post your script and describe the observed behaviour in more detail. It may be that you are not specifying the property correctly or that something else entirely is causing the symptoms you are seeing.

For “not working”, there are a variety of ways that could manifest:

  • widget updated too soon.
  • widget never updates.
  • widget update is inconsistent.
  • widget does not display at all.

The more detail you provide, the more likely it is that someone will be able to help point you in the right direction.

Thanks for your reply, widget update is inconsistent