There is a segmented control, each with different heights. There is also some textfields in each of them. when I tap on the textfield then tap on another segment, I cannot scroll to the bottom of view while the keyboard is shown.
I wanted to fix this with these codes which didn't work.
if(self.isKeyBoardShowing) {
CGRect borderLabelRect = containerView.frame;
self.scrollView.contentSize = CGSizeMake(borderLabelRect.size.width , borderLabelRect.size.height + 325);
[self.view layoutIfNeeded];
[self.view layoutSubviews];
}