iphone Programming Glossary: mywindow
Is there a way to prevent the keyboard from dismissing? http://stackoverflow.com/questions/6006017/is-there-a-way-to-prevent-the-keyboard-from-dismissing UIKeyboardDidShowNotification object nil super viewDidLoad void coverKey CGRect r UIScreen mainScreen bounds UIWindow myWindow UIWindow alloc initWithFrame CGRectMake r.size.width 50 r.size.height 50 50 50 myWindow setBackgroundColor UIColor clearColor.. mainScreen bounds UIWindow myWindow UIWindow alloc initWithFrame CGRectMake r.size.width 50 r.size.height 50 50 50 myWindow setBackgroundColor UIColor clearColor super.view addSubview myWindow myWindow makeKeyAndVisible This works on iPhone apps... CGRectMake r.size.width 50 r.size.height 50 50 50 myWindow setBackgroundColor UIColor clearColor super.view addSubview myWindow myWindow makeKeyAndVisible This works on iPhone apps. Haven't tried it with iPad. You may need to adjust the size of myWindow..
|