2011-04-29 164 views

回答

4

u能使用進行選擇延遲後調用方法:像

[self performSelector:@selector(keyboardShow) withObject:nil afterDelay:0.5]; 
1

您可以使用計時器這樣

timer = [NSTimer scheduledTimerWithTimeInterval:0.001 target:self selector:@selector(taskOnTimer) userInfo:nil repeats:NO]; 

或使用本

[self performSelector:@selector(playPages) withObject:nil afterDelay:10];