//以下代码为每隔1.5秒执行一次autoPlay函数
[NSTimer scheduledTimerWithTimeInterval:1.5 target:self selector:@selector(autoPlay) userInfo:nil repeats:YES];
iPhone/iPad Timer 使用
最新推荐文章于 2025-09-12 12:22:07 发布
本文介绍了一种使用NSTimer在iOS应用中实现每隔1.5秒调用一次autoPlay函数的方法。
1070

被折叠的 条评论
为什么被折叠?



