如何让一个程序等待一段时间再执行

来源:互联网 发布:五轴仿真软件 编辑:程序博客网 时间:2024/05/20 20:20
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:30.0 target:self selector:@selector(myTimerMethod:) userInfo:nil repeats:NO];
原创粉丝点击