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
- Official reference: UITextField.
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UITextField2.h