I am trying to set up a launching screen for my app, but when I add any UI element to the view controller in the launch screen storyboard, I don't see any option for setting constraints like in the main storyboard.
What can be the possible cause?
I am trying to set up a launching screen for my app, but when I add any UI element to the view controller in the launch screen storyboard, I don't see any option for setting constraints like in the main storyboard.
What can be the possible cause?
Yes, you missed to check that checkmark box. For those who are facing same issue, following are the steps to enable Auto layout for Launch screen:
1) Select the launch screen view controller icon:
2) Go to the "File Inspector" on right panel:
3) Check the box saying "Use Auto layout" :
You'll be now able to set auto layout constraints to launch screen.
Open LaunchScreen.storyboard
, and in the left pane CTRL+Drag the first components you want to participate to the second component, and use the opened pop-up window: