A method identified as deprecated has been superseded and may become unsupported in the future.
The font used to display text on the button. (Deprecated in iOS 3.0. Use the font
property of the titleLabel
instead.)
@property(nonatomic, retain) UIFont *font
If nil
, a system font is used. The default value is nil
.
UIButton.h
The line break mode to use when drawing text. (Deprecated in iOS 3.0. Use the lineBreakMode
property of the titleLabel
instead.)
@property(nonatomic) UILineBreakMode lineBreakMode
This property is one of the constants described in the UILineBreakMode
enumeration in NSString UIKit Additions Reference. The default value is UILineBreakModeMiddleTruncation
.
UIButton.h
The offset of the shadow used to display the receiver’s title. (Deprecated in iOS 3.0. Use the shadowOffset
property of the titleLabel
instead.)
@property(nonatomic) CGSize titleShadowOffset
The horizontal and vertical offset values, specified using the width
and height
fields of the CGSize
data type. Positive values always extend up and to the right from the user's perspective. The default value is CGSizeZero
.
UIButton.h
Last updated: 2009-09-09