How to do UITextField's leftView in Interface Builder?
Looking at UITextField item in Interface Builder, cannot see any way to set leftView property. Would like the put there an icon to show user that this is place for text input.
The overlay view displayed on the left side of the text field.
@property(nonatomic, retain) UIView *leftView
Can开发者_开发知识库 it be set using IB at all?
You mean UITextField? It looks like you cannot do that in IB. Instead, somewhere in your view controller's -viewDidLoad set both leftView and leftViewMode properties.
精彩评论