您的位置:首页 > 其它

防止按钮重复点击

2012-09-14 09:36 337 查看
[NSObject  cancelPreviousPerformRequestsWithTarget:self selector:@selector(ReloadLocalDataTable:) object:CurrentLocalPath];
LocalTextField.text=@"";
NSString *lastpath = [CurrentLocalPath stringByDeletingLastPathComponent];
self.CurrentLocalPath=[NSString stringWithFormat:@"%@",lastpath];
[self performSelector:@selector(ReloadLocalDataTable:) withObject:CurrentLocalPath afterDelay:.5];


  
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: