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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -