objective c - Force early call to background task expiration handler on iOS devices for testing -
i testing , debugging expiration block in - beginbackgroundtaskwithexpirationhandler:
.
is there way force block call happens quicker, instead of waiting 10 minutes each time need debug it?
i not interested in debugging actual code in block, rather interested in sequence of calls , backtrace, etc.; that's why need callback happen, 10 minutes each time long!
yep, basically, isolate background task block, call using nstimer
or
`- (void)performselector:(sel)aselector withobject:(id)anargument afterdelay:(nstimeinterval)delay`
at least thats how it.
Comments
Post a Comment