Internal clock in iPhone background mode

后端 未结 5 1659
挽巷
挽巷 2020-12-10 08:37

In my application i want to run an internal clock in background mode [while application is not running in foreground].

The whole functionality will be like this:

5条回答
  •  星月不相逢
    2020-12-10 08:54

    apple is support small task for background mode which will work for approximate 10 sec only.

    so you can do one thing when app is active then get time form server and update your local time according that.

提交回复
热议问题