iOS5 ARC is it safe to schedule NSTimers from background selectors?
问题 I'm trying to debug my application. I've been using some NSTimer instances in my non-arc code like this (from the main thread): [NSTimer scheduledTimerWithTimeInterval:5 target:musicPlayer selector:@selector(playPause:) userInfo:nil repeats:NO]; This works fine if I assign this code to a button and click a button. The timer fires. I've also tried: if( self.deliveryTimer == nil) { self.deliveryTimer = [NSTimer scheduledTimerWithTimeInterval:10 target:self selector:@selector(playPause:)