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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -