Closed paresh-navadiya closed 9 years ago
NSDateComponents *compNow = [NSDate componentsOfCurrentDate];
[self performSelector:@selector(updateToCurrentTime) withObject:self afterDelay:60.0f-compNow.second];
Method defination :
-(void)updateToCurrentTime
{
if (self.dayView) {
[self.dayView.nowLineView updateTime];
}
[self performSelector:@selector(updateToCurrentTime) withObject:self afterDelay:60.0f];
}
As there no update of current time in Day View