mirror of
https://github.com/ZaidElkurdi/AssistantPlus.git
synced 2025-01-22 11:28:31 +00:00
-Location daemon updates every 30 seconds
This commit is contained in:
parent
920ed48c3f
commit
369df2f065
@ -1 +1 @@
|
||||
249
|
||||
256
|
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>OnDemand</key>
|
||||
<key>KeepAlive</key>
|
||||
<false/>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/dev/null</string>
|
||||
|
@ -19,8 +19,8 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
@autoreleasepool {
|
||||
[manager startMonitoringLocation];
|
||||
[NSTimer scheduledTimerWithTimeInterval:30 target:manager selector:@selector(startMonitoringLocation) userInfo:nil repeats:YES];
|
||||
while([[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:2]]);
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user