I am trying to animate UIViews that are added as a subView to scrollView.This works fine without autolayout , however with autolayout it doesn't seem to work.
Here is what I am doing :
[UIView animateWithDuration:1.0 animations:^(void){
[self.commenView setFrame:({
CGRect frame = self.commenView.frame;
frame.origin.y = 335;
frame;
})];
[self.addDeleteCommentView setFrame:({
CGRect frame = self.addDeleteCommentView.frame;
frame.origin.y = 405;
frame;
})];
}];