You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result: in nav bar appears timer label with 00:00:00 (NOT 00:21:60) and timer is not starting... What am i do wrong? thanks for answering. With last holidays!=)
The text was updated successfully, but these errors were encountered:
i'd like to insert label with timer in nav bar viz. in rightBarButtonItem. There is the code:
UILabel _label = [[UILabel alloc]initWithFrame:CGRectMake(0.0, 0.0, 40.0, 100.0)];
lblTimer = [[MZTimerLabel alloc] initWithLabel:label andTimerType:MZTimerLabelTypeTimer];
[lblTimer setCountDownTime:21_60];
lblTimer.bounds = CGRectOffset(label.bounds, 0, 0);
lblTimer.font = FONT_B(18.0f);
lblTimer.textColor = [UIColor whiteColor];
[lblTimer sizeToFit];
lblTimer.delegate = self;
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:lblTimer];
[lblTimer start];
The result: in nav bar appears timer label with 00:00:00 (NOT 00:21:60) and timer is not starting... What am i do wrong? thanks for answering. With last holidays!=)
The text was updated successfully, but these errors were encountered: