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.
Text changed
Signature | -(char)keyboardInputChanged:(id)arg;
|
---|
The method -[UITextField keyboardInputChanged:]
can be hooked to detect text changes (after the changes have been made), this includes changes not made by the keyboard (cut and paste)
References
- Official reference: UITextField.
- Header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UITextField2.h