UICheckeredPatternView

From iPhone Development Wiki
Jump to: navigation, search

UICheckeredPatternView is a view that draws the checkerboard pattern (like what is seen in MobileSafari).

Example:

UICheckeredPatternView* v = [[UICheckeredPatternView alloc] initWithFrame:CGRectMake(60, 60, 200, 200)];
v.checkerColor = [UIColor yellowColor];
[window addSubview:v];
[v release];

Reference