Created
March 30, 2011 08:42
-
-
Save mafis/894075 to your computer and use it in GitHub Desktop.
Selection Color in Objective-C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //View erstellen | |
| UIView *bgColorView = [[UIView alloc] init]; | |
| //View anpassen, wie er aussehen soll | |
| [bgColorView setBackgroundColor:[UIColor orangeColor]]; | |
| //Den View als SelectBackgroundView der Cell setzten | |
| [cell setSelectedBackgroundView:bgColorView]; | |
| //View wieder freigeben | |
| [bgColorView release]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment