I have a cycript
backboardd
script that works great on iOS 7
for modifying an app to continue running in the background.
app = [BKProcess processForPid:$PID];
alive = [[BKProcessAssertion alloc] initWithReason:7 identifier:"AppKeepAlive"];
[alive setFlags:0xF];
[sc addAssertion:alive];
This is all that's needed. However on iOS 8
this does't work as BKProcess
is now BKSProcess
and BKProcessAssertion
is now BKSProcessAssertion
and they have different methods.
There doesn't seem to be a way to attach the assertion to the app like on iOS 7
.
Can some please help me get this working under iOS 8
.