Timer

NSTimer timer =[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(timerFired:) userInfo:nil repeats:YES];

-(void)timerFired:(NSTimer *)theTimer
{
    myLabel.text=@"timer";
}
posted @ 2012-12-06 15:29  废弃账号  阅读(117)  评论(0)    收藏  举报