Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
天気予報アプリがあり、メイン画面にニューヨークの現在の気温を示すタイルがあるとします。そのタイルの温度を 5 分ごとに更新したい (ユーザーがアプリを終了した後)。どうすればそれを行うことができますか (ユーザーが終了した後にコードを実行します)?
バックグラウンドエージェントと呼ばれるものを使用する必要があります。具体的には、定期的なタスクを使用します。