While working with iOS 5.1 Simulator app felt great, but after testing it on iOS 4.3 Simulator some sort of unintelligible issue appeared:
I use custom UITableViewCell for UITableView, and it has few UILabels and one UITextView. The problem is that textColor property seems not to work at all – all the text on my labels remain being invisible despite the background is shown and NSLog prints right text. I tried changing textColor value both in IB and programmatically but neither helped.
What about UITextView – it’s ok. I guess, I could substitute all the labels with textViews, but it’s not the good way of programming, is it?
I’ll be thankful no end for any kind of your help because it just blows my mind away!
Update (source code added)
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
FeedItemCell *cell = [tableView dequeueReusableCellWithIdentifier:[FeedItemCell cellID]];
if (!cell) {
cell = [FeedItemCell cell];
}
NSIndexPath *selectedPath = [tableView indexPathForSelectedRow];
if (selectedPath && (indexPath.row == selectedPath.row) ) {
[self selectRowAtIndexPath:indexPath];
}
[cell fillWithContents:[feedItemsController.fetchedObjects objectAtIndex:indexPath.row]];
return cell;
}
//---
@implementation FeedItemCell
- (void)fillWithNewsItemContents:(FeedItem *)feedItem {
self.nameLabel.text = [feedItem.creator fullName];
self.dateLabel.text = [TimeFormatter newsTimeWithDate:feedItem.postedDate];
self.detailTextView.text = [FeedItemCell detailTextViewStringFromFeedItem:feedItem];
self.commentLabel.text = [self _commentsTitleWithNews:feedItem];
self.avatarImageView.image = [feedItem.creator avatar];
}
All the UILabels are defined in xib-file

It seems like I found the solution. For some reason
UILabeldoesn’t support Helvetica Neue font in iOS 4.3 (in spite of fact thatUITextViewdoes).I just noted it adding other test
UILabels and, after success, trying to find difference between new and old ones.Thus now it takes only to choose another suitable font 🙂
Thank you all very much and sorry for troubling without worth reason.