xe7 background location sensor? [Edit] |
|
Hi,
i use xe7 and iOS 7.1 and i want to use background location services. When my software active, it runs very good but when iphone sleep then its stop. i found setIdleTimerDisabled method but it won't work for me?
How can i use background services on iOS?
i use these code for setIdleTimeDisabled :
procedure TForm1.FormCreate(Sender: TObject);
var
UIApp : UIApplication;
begin
UIApp := TUIApplication.Wrap(TUIApplication.OCClass.sharedApplication);
UIApp.setIdleTimerDisabled(True);
Thanks a lot.
|
Re: xe7 background location sensor? |
|