A current time format should be like hh:mm:ss and seconds should run ,the seconds should not stop counting, it should keep on running let me show you what code i am writing.
-(void)timeNotify
{
NSDate *currDate = [NSDate date];
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init];
[dateFormatter setDateFormat:@"hh:mm:ss a"];
NSString *dateString = [dateFormatter stringFromDate:currDate];
_timeLbl.text=dateString;
}
and in view did load i am calling this
-(void)viewDidLoad
{
[self timeNotify];
}