I am using setFrame to change the X position of my view. I have the views positioned outside of the UIViewController and when I click any of the buttons, it brings in the UIView depending on which button is pressed. I am not sure what I am doing wrong but with the code below none of the views will move, although I had it working before in a previous project so I can't get my head around why it won't work now.
Code for the button is below, thanks!
- (IBAction)reviews {
[self.descView setFrame:CGRectMake(-378, 278, 375, 334)];
[self.reviewsView setFrame:CGRectMake(0, 278, 375, 334)];
[self.avView setFrame:CGRectMake(-378, 278, 375, 334)];
[self downloadreviews];
}