i have to move a UI image view according to the the value received. I have enabled Autolayout. and i must use auto layout. Is there any other method to move my UIImage view. This is the Code i am using and i know it wont work as i have enabled Auto layout
switch (valueForBlueBar)
{
case 0:
NSLog(@"its Monday");
break;
case 1:
NSLog(@"its tuesday");
break;
case 2:
NSLog(@"its wednesday");
break;
case 3:
NSLog(@"its thurdsay");
[blueBarOutlet setFrame:CGRectMake(100, 100, blueBarOutlet.frame.size.width, blueBarOutlet.frame.size.height)];
break;
case 4:
NSLog(@"its friday");
break;
default:
break;
}