延時操作
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self ad];
});
// repeats 傳YES 會間隔1.5秒繼續(xù)調(diào)用ad方法
[NSTimer scheduledTimerWithTimeInterval:1.5 target:self selector:@selector(ad) userInfo:nil repeats:NO];
[self performSelector:@selector(ad) withObject:nil afterDelay:1.5];