Take the 2-minute tour ×
CalendarViewController *calendarViewController=[[CalendarViewController alloc]initWithNibName:@"CalendarViewController" bundle:nil AndUserName:username];

[self.navigationController pushViewController:calendarViewController animated:YES];

Assertion failure in -[UITextFieldLabel setTextColor:], /SourceCache/UIKit_Sim/UIKit-1448.89/UILabel.m:314 2012-12-11 11:00:59.257 TIMESHEET_MANAGER[553:207] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: color'

* Call stack at first throw:

share|improve this question
paste code of setTextColor –  Rajneesh071 Dec 11 '12 at 7:07
add comment

1 Answer

Check if there is a setTextColor method in your class. It is expecting a UIColor object but something else is passed to that method. Check it and correct that. That should resolve this.

share|improve this answer
add comment

Your Answer


