I'm trying to add Submit Round Button to the SCTabelViewModel. I need to add this button after the text field area. How do I figure out the exact size and location of the cell that is after text field. Here is my code and screenshoot
Code
----
SCLabelCell *labelCell2 = [SCLabelCell cellWithText:@"Feedback & Suggetions" withBoundKey:nil withLabelTextValue:@"Feedback & Suggetions"];
SCTextFieldCell *feedbackTextFieldCell = [SCTextFieldCell cellWithText:nil withPlaceholder:@"Please enter Feedback & Suggetions"
withBoundKey:@"feedback" withTextFieldTextValue:nil];
feedbackTextFieldCell.valueRequired = TRUE;
SCTableViewCell *submitButtonCell = [SCTableViewCell cell];
UIButton *submitButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[submitButton setTitle:@"Submit" forState:UIControlStateNormal];
[submitButton addTarget:self action:@selector(buttonPushed:)
forControlEvents:UIControlEventTouchUpInside];
submitButton.frame = CGRectMake(9, 5,255, 45);
[submitButtonCell addSubview:submitButton];
SCLabelCell *labelCell3 = [SCLabelCell cellWithText:@"App Info3" withBoundKey:nil withLabelTextValue:@"iBasavanna App Info3"];
[section1 addCell:labelCell1];
[section2 addCell:labelCell2];
[section2 addCell:feedbackTextFieldCell];
[section2 addCell:submitButtonCell];
[section3 addCell:labelCell3];