{
    NSLog(@"111");

      SEL rl = @selector(rotateLayers);

      [selfperformSelector:rl withObject:nilafterDelay:1.0]; // 这里不延时1秒

      NSLog(@"222");

}

)rotateLayers {
    NSLog(@"333");
}

结果:

19:47:55.326 CA Demos[5138:907] 111

19:47:55.327 CA Demos[5138:907] 222

19:47:56.329 CA Demos[5138:907] 333

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2021-08-24
  • 2022-12-23
  • 2022-01-30
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2021-11-09
相关资源
相似解决方案