摘要: ```OC - (void)system_Sleep_Now { NSTask *task = [[NSTask alloc] init]; task.launchPath = @"/usr/bin/pmset"; task.arguments = @[@"sleepnow"]; [task lau 阅读全文
posted @ 2023-08-29 00:49 CH520 阅读(27) 评论(0) 推荐(0) 编辑