// Disable the idle timer [[UIApplication sharedApplication] setIdleTimerDisabled: YES];
// Or for those who prefer dot syntax: [UIApplication sharedApplication].idleTimerDisabled = YES;
时间: 2024-10-16 03:41:15
// Disable the idle timer [[UIApplication sharedApplication] setIdleTimerDisabled: YES];
// Or for those who prefer dot syntax: [UIApplication sharedApplication].idleTimerDisabled = YES;