UITextField

From iPhone Development Wiki
Revision as of 20:16, 3 March 2010 by KennyTM~ (talk | contribs) (Created page with ''''UITextField''' is a single-line edit control. == As a progress bar == {{function signature |signature=-(void)setProgress:(float)progress; |firmware=2.0 — }} The method {{O…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UITextField is a single-line edit control.

As a progress bar

Signature -(void)setProgress:(float)progress;
Available in 2.0 —

The method -[UITextField setProgress:] can be used to add a partial light blue background to the text field as a progress indication, just like MobileSafari. The progress value must be between 0.0 and 1.0.

References