UITextField笔记

borderStyle
The border style used by the text field.

@property(nonatomic) UITextBorderStyle borderStyle
Discussion
The default value for this property is UITextBorderStyleNone. If the value is set to the UITextBorderStyleRoundedRect style, the custom background image associated with the text field is ignored.

只有该属性为UITextBorderStyleNone时才可以给UITextField加背景

Accessing the Text Attributes
    text  property
    placeholder  property
    font  property
    textColor  property
    textAlignment  property
Sizing the Text Field’s Text
    adjustsFontSizeToFitWidth  property
    minimumFontSize  property
Managing the Editing Behavior
    editing  property
    clearsOnBeginEditing  property
Setting the View’s Background Appearance
    borderStyle  property
    background  property
    disabledBackground  property
Managing Overlay Views
    clearButtonMode  property
    leftView  property
    leftViewMode  property
    rightView  property
    rightViewMode  property
Accessing the Delegate
    delegate  property

posted @ 2012-04-18 15:16  hlzhangf  阅读(244)  评论(0)    收藏  举报