Assignment 3: Interface Builder
|
This assignment will introduce Xcode's Interface Builder and give you experience creating GUIs and working with UI elements in iOS applications, as well as working with layout constraints.
The screen should use auto layout so that the screen displays correctly on both an iPad and iPhone of differing sizes. This will be easier if you place certain objects within stack views then position those stack views within the scene.
To use an Image View, drop an image asset in the Assets.xcassets folder then select it for the Image View's Image property.
The final product will look something like the below images with the layout adjusting automatically for the device:
If you are having trouble using autolayout, this tutorial provides a more in depth examination of how to use constraints. Your color and button layout schemes do not need to match this example, but it should work on both devices.
You will submit a zip of the project folder, yourid_assignment3, that contains the file folder with code, assets, and yourid_assignment3.xcodeproj via Canvas. Note that if you do not correctly import your image into the Asset folder, it will not display correctly on our machines, so double check that to avoid losing points.