¡@

Home 

2014/10/15 ¤U¤È 10:03:52

iphone Programming Glossary: appwindow

keyboard in UIActionSheet does not type anything

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

needed. Edit I've changed the view association of the action sheet and the size of the action sheet as well UIWindow appWindow UIApplication sharedApplication .keyWindow asheet showInView appWindow asheet setFrame CGRectMake 0.0 60.0 320.0 204.0 while.. the size of the action sheet as well UIWindow appWindow UIApplication sharedApplication .keyWindow asheet showInView appWindow asheet setFrame CGRectMake 0.0 60.0 320.0 204.0 while CGRectEqualToRect asheet.bounds CGRectZero Add the text field to action.. UIActionSheet actionSheet UITextField textField UITextField actionSheet viewWithTag TEXT_FIELD_TAG UIWindow appWindow UIApplication sharedApplication .keyWindow CGRect frame textField.frame appWindow insertSubview textField aboveSubview actionSheet..