延迟调用函数

2015-11-06  本文已影响43人  三十一_iOS
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.6 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [textView becomeFirstResponder];
    });
 [self performSelector:@"test" withObject:nil afterDelay:.35];
上一篇 下一篇

猜你喜欢

热点阅读