UICheckeredPatternView

From iPhone Development Wiki
Revision as of 06:44, 21 January 2014 by Zaersk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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