¡@

Home 

2014/10/15 ¤U¤È 10:05:49

iphone Programming Glossary: currentloop

keyboard in UIActionSheet does not type anything

http://stackoverflow.com/questions/5589482/keyboard-in-uiactionsheet-does-not-type-anything

ACTION_SHEET_TAG 8888 @interface ModalActionDelegate NSObject UIActionSheetDelegate UITextFieldDelegate CFRunLoopRef currentLoop NSString text NSUInteger index @property assign NSUInteger index @property retain NSString text @end @implementation ModalActionDelegate.. ModalActionDelegate @synthesize index @synthesize text id initWithRunLoop CFRunLoopRef runLoop if self super init currentLoop runLoop return self Activate keyboard void acceptInput UIActionSheet actionSheet UITextField textField UITextField actionSheet.. appWindow viewWithTag TEXT_FIELD_TAG if textField nil self.text textField.text self.index buttonIndex CFRunLoopStop currentLoop #pragma mark #pragma mark UITextFieldDelegate #pragma mark BOOL textFieldShouldBeginEditing UITextField textField NSLog..