iphone - what is the maximum value that can be assigned to rununtildate for runloop? -
I'm trying to run this runloop forever (if not always at least for one day) I Runloop The problem is that the app crashes after 3 hours.Can someone help me? If you want to run it continuously (and assuming you have timer and / or input sources attached ), Then you If you want to be with your current build, you can use it: I have seen that the applet uses the following pattern (for example listing of 3-14; I have also seen the [self.runLoop runUntilDate: [NSDate dateWithTimeIntervalSinceNow: 100000]] using the following function;
[self. Ron Loop Run];
[self.runLoop runUntilDate: [NSDate distantFuture] ];
NSOperation objects when it is a Asynchronous operation which they want to wait to complete):
// Run the talk run loop process [[[Run NSRON loop] RunMode: NSDFaultRon date before loop mode : [NSDT remote futures]]; } whereas ( ... ); // Wherever you have a condition, you want to check for
Comments
Post a Comment