A requirement effect
To achieve the effect, add the Submit button at the bottom of the UITableView.
Can be achieved by UITableView Tablefooterview
Accessory View below content. Default is nil. Not to is confused with section footer@property (nonatomic, retain) UIView *tablefooterview;
Two-code implementation
- (void) viewdidload{ [super viewdidload];   //1. Add Bottom button [self addfooterbutton];} /** * Add bottom button */-(void) addfooterbutton{ //1. Initialize button UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; //2. Setting text and text colors [button settitle:@ "complete diagnostics" forState:UIControlStateNormal]; [button setTitleColor:[UIColor Whitecolor] forstate:uicontrolstatenormal]; //3. Setting fillet amplitude button.layer.cornerRadius = 10.0; Button.layer.borderwidth = 1.0; //4. Setting frame button.frame = cgrectmake (0, 100, 20, 44); &nBSP;       //5. Setting the background color button.backgroundcolor =  GREENCOLOR;        //6. Setting trigger events //ellipsis //7. Adding to Tableview tablefooterview Self.tableview.tablefooterview = button;}
Three
IOS UITableView Bottom Add button