I have 3 UIImageView
and each contains an image
. I have an if statement that when triggered should change the width
of the image
.
I have tried:
relaxedV.frame = CGRectMake(0, 53, 320, 479);
relaxedV.frame = CGSizeMake(0, 53, 320, 479);
relaxedV.image = CGRectMake(0, 53, 320, 479);
relaxedV.image = CGSizeMake(0, 53, 320, 479);
and a few others but nothing works so far. How can I just change the width
? Is there a better way to do this than using a UIImageView
? The images are just solid colors so I could just have them drawn with code if someone could instruct me that too