I (basically) need to create a background timer on iOS 4 that will allow me to execute some code when a certain amount of time has passed. I read that you can accomplish this using some [NSThread detachNewThreadSelector: toTarget: withObject:]; but how does it work in practice? How can I guarantee that the stream will remain in the background. Local notifications will NOT work for me, since I need to execute the code, not notify the user.
Help will be appreciated!
objective-c ios4 background-thread localnotification
Richard J. Ross III Nov 11 2018-10-11 12:22
source share