[self performSelector:@selector(showloginview) withObject:[NSNumber numberWithInt:indexOfFile] afterDelay:2.0];
showloginview为方法名

withObject为需要传递的参数
afterDelay为延迟的时间

可用来播放LOG很不错:-)

相关文章:

  • 2022-01-21
  • 2021-12-04
  • 2021-11-29
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-24
  • 2021-11-04
  • 2022-01-29
  • 2021-10-29
  • 2022-12-23
  • 2021-11-09
相关资源
相似解决方案