Select your button and position it in the top left corner of your app
Press the pin button and select top and left constraints and then press the 'Add 2 Constraints' button
Your 2 new constraints will appear in the View Controller Scene.
Run your app in the iOS simulator and your button will appear in the top left corner.
Rotate your app to the right and your button will still appear in the top left corner.
No comments:
Post a Comment