Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UITexturedButton - iPhone Development Wiki

UITexturedButton

From iPhone Development Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
UITexturedButton, in the normal and highlighted states.

UITexturedButton is a subclass of UIButton which is a button with textured look. Since UITexturedButton is a UIButton, it can be used like a normal UIButton.

The UITexturedButton has a buttonType of 110.

Example code:

UITexturedButton* textureButton = [[UITexturedButton alloc] initWithFrame:CGRectMake(20, 20, 150, 50)];
[textureButton setTitle:@"Textured Button" forState:UIControlStateNormal];	
[myView addSubview:textureButton];
[textureButton release];

Reference