I want to call the API when app is in background.
So timer will work in background mode after 2 3 hours.
So timer will work in background mode after 2 3 hours.
iOS does not have a general-purpose way of running code periodically in the background. What are you planning to do in this code? There may be a special-purpose mechanism that meets your requirements.I want to call the API when app is in background. So timer will work
in background mode after 2 3 hours.