Ios 有没有比';scheduledTimerWithTimeInterval';
我想知道是否有一种更平滑、更轻的方法来制作带有循环的动画Ios 有没有比';scheduledTimerWithTimeInterval';,ios,objective-c,game-loop,Ios,Objective C,Game Loop,我想知道是否有一种更平滑、更轻的方法来制作带有循环的动画 [NSTimer scheduledTimerWithTimeInterval:[NSTimeInterval] target:[target] selector:@selector() userInfo:[UInfo] repeats:[BOOL]]; 有没有比这更好的方法使动画更平滑,或者我正在Mac上的iOS模拟器上测试?会让你在屏幕刷新时触发工作;这可能是最好的选择。在iOS中,大约有30种(好的,可能有半打)不同的时间间隔方法
[NSTimer scheduledTimerWithTimeInterval:[NSTimeInterval] target:[target] selector:@selector() userInfo:[UInfo] repeats:[BOOL]];
有没有比这更好的方法使动画更平滑,或者我正在Mac上的iOS模拟器上测试?会让你在屏幕刷新时触发工作;这可能是最好的选择。在iOS中,大约有30种(好的,可能有半打)不同的时间间隔方法。是的,但如果你仔细看,你可以读到“更好”,而不仅仅是其他方法……你在使用sprite工具包吗?