IOS Knowledge Pot

Tuesday, 29 April 2014

Change the Selection Color of Cell

UIView *bgColorView = [[UIView alloc] init];
bgColorView.backgroundColor = [UIColor cyanColor];
cell.selectedBackgroundView = bgColorView;
cell.textLabel.highlightedTextColor = [UIColor grayColor];
Posted by Unknown at 02:38
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2016 (1)
    • ►  February (1)
  • ►  2015 (26)
    • ►  December (1)
    • ►  November (2)
    • ►  October (3)
    • ►  September (7)
    • ►  August (5)
    • ►  July (1)
    • ►  June (4)
    • ►  April (2)
    • ►  March (1)
  • ▼  2014 (55)
    • ►  November (4)
    • ►  October (2)
    • ►  September (1)
    • ►  July (7)
    • ►  June (4)
    • ►  May (10)
    • ▼  April (6)
      • Creating file in NSTemporary​Directory
      • Change the Selection Color of Cell
      • Fetch Contacts (Address Book)
      • Save and Load UIImage in Documents Directory
      • NSFile​Manager - Common Tasks
      • UITextView with HTML text
    • ►  March (8)
    • ►  February (6)
    • ►  January (7)
  • ►  2013 (16)
    • ►  November (4)
    • ►  October (2)
    • ►  September (10)
Simple theme. Powered by Blogger.