Difference between revisions of "UICheckeredPatternView"

From iPhone Development Wiki
Jump to: navigation, search
(Created page with 'UICheckeredPatternView is a view that draws the checkerboard pattern (like what you see in MobileSafari). Example: <source lang="objc"> UICheckeredPatternView* v = [[UICheck…')
 
 
Line 1: Line 1:
[[UICheckeredPatternView]] is a view that draws the checkerboard pattern (like what you see in MobileSafari).
+
[[UICheckeredPatternView]] is a view that draws the checkerboard pattern (like what is seen in [[MobileSafari]]).
  
 
Example:
 
Example:

Latest revision as of 06:44, 21 January 2014

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