iPad keyboard dimensions
问题 I have found the iPhone's keyboard bounds in the apple documentation, but I can't find the iPad's keyboard bounds. Could you please help me? 回答1: The entire answer in code looks like this. First you need to register for the notifications: [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil]; and there are more here. Note that you'll need to get rid of them, too (use removeObserver ). Then you need a method