Usually in development, when there is an input box, the pop-up keyboard will sometimes block the bottom of the screen, for this we can in the operation of the input box to move the screen, to avoid the screen below is obscured. (You can also use ScrollView to slide.) ) #pragma mark - on-screen bounce-(void) textfielddidbeginediting: (uitextfield *) textfield{ //Keyboard height 216 //slide effect (animation) nstimeinterval animationduration = 0.30f; [uiview beginanimations:@ "Resizeforkeyboard" context:nil]; [uiview setanimationduration: animationduration]; //move the y-coordinate of the view up so that the following space is available for soft keyboard display self.view.frame = cgrectmake (0.0f, -100.0f, self.view.frame.size.width, Self.view.frame.size.height);//64-216 [ Uiview commitanimations];} #pragma mark -screen recovery-(void) textfielddidendediting: (uitextfield *) textfield{ //Slide Effect    &NBSp nstimeinterval animationduration = 0.30f; [uiview beginanimations:@ "Resizeforkeyboard" context:nil]; [uiview setanimationduration: animationduration]; //Recovery Screen Self.view.frame = cgrectmake (0.0f, 0.0f, self.view.frame.size.width, Self.view.frame.size.height);//64-216 [ Uiview commitanimations];}
iOS development ui--Keyboard pop-up screen move up