Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIPasscodeField - iPhone Development Wiki

UIPasscodeField

From iPhone Development Wiki
Revision as of 19:49, 24 January 2010 by Chpwn (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

UIPasscodeField is a segmented group of text fields for entering fixed-length passcode. This is similar to the SpringBoard passcode entry and is in fact used there.

All appearance settings must be done only once, because frame is being overdrawn.

UIPasscodeField's delegate

Delegates of UIPasscodeField must conform to the following informal protocol:

@protocol UIPasscodeFieldDelegate
@optional
-(void)passcodeFieldDidAcceptEntry:(UIPasscodeField*)field;
-(BOOL)passcodeField:(UIPasscodeField*)field shouldInsertText:(NSString*)text;
-(void)passcodeFieldTextDidChange:(UIPasscodeField*)field;
@end

References