Sunday, September 25, 2022
HomeiOS Developmentios - Xcode cannot include picture in container

ios – Xcode cannot include picture in container

Newbie formatting query right here. I am making an attempt to format the storyboard in order that it may be proven when the display has been rotated.

I’ve created a vertical stack after which 3 containers inside the vertical stack. Then for every container, I’ve pinned the objects within the container to the centre for x and y axis. I’ve distributed every container equally inside the stack view.

These constraints appear to work for every part besides the picture within the center view. Particularly, the picture can not seem to keep within the container view.

Is there a approach to make the picture keep inside the container, in order that when the machine rotates the storyboard is organised?

Horizontal view

Vertical view



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments