There is tableView with footer, which have button and label.
Basically button coordinates is hardcoded to align right. Also autoresizing mask is set to align bottom-right on rotations.
saveButton.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin;
Issue: after autoresizing mask is set, buttons isn’t positioned inside the screen. What I’am doing wrong? Do I need to set autoresizing mask of parent view (UIView)?
You should set the
viewForFooterInSectionsuch that the size of that view is greater than than the frame size of theUIButtonthat you are placing inside.