这是我在这里的第一个问题,我真心希望有人能够帮助我。
I have a navigation app that displays an alertview to the user when they arrive at their destination. This works perfectly fine, but I want to alert the user through a localnotification in the same manner when they arrive and the app is in the background.
I have registered the app to receive Location updates in the Info.plist file, and do all my distance calculations in didUpdateToLocation. Again, this works perfectly well if the app is in the foreground just not when its in the background.
如果有人能向我提供任何帮助或想法,将非常感谢。
谢谢。