Selected Background color on cell

UIView *view = [[UIView alloc] initWithFrame:CGRectMake(10, 20, 30, 40)];

view.backgroundColor = [UIColor redColor];

cell.selectedBackgroundView = view;

[view release];

This entry was posted in iOS by Muzammil. Bookmark the permalink.

About Muzammil

Hey Guys, I am Muzammil Mohammad. Having 7 years of experience in iOS development. I am here to share my knowledge with all mobile application developers and those companies who are stuck on development (due to bad quality of code or don't know what to do) or want to know how to build a good mobile app. I believe I am more expert in UI and Architecture design of mobile app. So if you need my helps or assistant for your mobile app projects, Feel free to contact me. I will try my best to improve the quality of your app. Or you can hire me to develop your apps. I’d love to talk with you. Best!

2 thoughts on “Selected Background color on cell

  1. Noch ein kleiner Tip, wenn man die Hf6he des Popup Fenster von 600 auf 704 vergrf6dfert dann acubrht man nur eine Bilddatei ffcr den Hintergrund und man muss die Bilddatei beim Drehen des Gere4tes nicht austauschen.

  2. This is really heflpul Chad. I looked at the snippet and realized that even though I remember doing this and it made sense at the time, the explanation is pretty necessary for me to understand it, so thanks.

Leave a Reply to Electre Cancel reply

Your email address will not be published. Required fields are marked *