Monday, 15 June 2015

objective c - UILabel text color not changing for iOS 7 from awakeFromNib method -


I have created an xib file for my custom UITableViewCell and the related xib contains some labels file . I want to set the text color of those labels under the custom UITableViewCell class awakeFromNib method. The problem is that it's working fine for iOS 8 only and not for iOS 7.

I think there is a difference in reaching the subvues between IOS7 and IOS8 May also be related

  NSArray * subviews; If (system version is; = iOS 7) subviews = aCell.contentView.subviews; Other subviews = aCell.subviews;  

In addition to this you can refer to the following link -


No comments:

Post a Comment