Iphone 如何在后台使用nstimer
如何在后台使用NSTimer和Iphone 如何在后台使用nstimer,iphone,ios,background,nstimer,core-location,Iphone,Ios,Background,Nstimer,Core Location,如何在后台使用NSTimer和ApplicationIdentinterBackground方法调用locationManager函数?为什么需要计时器?如果将代理设置为接收来自位置更新的回调,则不需要计时器。如果您需要主动位置跟踪,如果长时间运行,您将遭受巨大的电池消耗。当您进入后台切换到-monitorForSignificantLocationChanges时,您会感觉更好。将您的AppDelegate注册为Location Manager代表,然后在回拨中执行您需要执行的操作。您能帮我吗
ApplicationIdentinterBackground
方法调用locationManager
函数?为什么需要计时器?如果将代理设置为接收来自位置更新的回调,则不需要计时器。如果您需要主动位置跟踪,如果长时间运行,您将遭受巨大的电池消耗。当您进入后台切换到-monitorForSignificantLocationChanges时,您会感觉更好。将您的AppDelegate注册为Location Manager代表,然后在回拨中执行您需要执行的操作。您能帮我吗?????