6 jun

Cells image view width will not change

I have an image view in a cell and I've change the multiplier so that the width changes depending on the screen size. But the problem is that the width doesnt change accordingly. The width is a ratio of the cells width and the width remains constant to that of my xib width. So my width never changes and the width only appears fine for one of the screen sizes but not the rest. How can I update my width of my image view. There is an image of my auto layout below. I also called layout if needed for my image view and the image view shrinks and does funky stuff so that doesnt work. Below is a picture of the auto layout for the image views width.

Picture of AutoLayout



© 2017 website by Rubit Corporation