Pushes the view up if one of the table forms is selected for editing (implementation of the keyboard notification is required)
- (void) keyboardDidShow:(NSNotification *)aNotification { [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:0.25]; self.view.center = CGPointMake(self.view.center.x, self.view.center.y-moveAmount); [UIView commitAnimations]; isRaised = [NSNumber numberWithBool:YES]; }
Resizes the table (divides the height by 2). Swap it on the keyboard to show the method. Alternatively, you can use the keyboard to hide the method to undo this stuff.
CGRect temp = CGRectMake(mineTable.frame.origin.x, mineTable.frame.origin.y, mineTable.frame.size.width, mineTable.frame.size.height/2); mineTable.frame = temp;
Dustin Jul 03 2018-12-12T00: 00Z
source share