I want to make non-GUI application that in background collects gps location every 5 mins.
I know how to make non-GUI app: just remove UIApplicationMain from main.m of ViewBased template an insert my code there. Such a app I can make to load at boot by creating a plist file in /System/Library/LaunchDaemons/
But CLLocationManager can not call CLLocationManagerDelegate's selectors without UIApplicaiton (see attached screenshot of call stack)
So how can I make desired app? May be there is a way to collect gps data without CLLocationManager e.g. just by calling some func. Or is there a way to replace UIApplicaiton with non-UI message runloop?
PS this app is not for appStore, it is for jailBroken devices
I know how to make non-GUI app: just remove UIApplicationMain from main.m of ViewBased template an insert my code there. Such a app I can make to load at boot by creating a plist file in /System/Library/LaunchDaemons/
But CLLocationManager can not call CLLocationManagerDelegate's selectors without UIApplicaiton (see attached screenshot of call stack)
So how can I make desired app? May be there is a way to collect gps data without CLLocationManager e.g. just by calling some func. Or is there a way to replace UIApplicaiton with non-UI message runloop?
PS this app is not for appStore, it is for jailBroken devices