Re-organize code to dynamically change stack view properties for the iPhone.
- [Instructor] The layout we have here is great for…iPhone and portrait and in this 1/3 pane,…but if we screwed it all the way back.…This isn't the best format I'd want to use…for an iPad, or for that matter,…an iPhone in landscape.…In iPhone landscape and iPad,…I'd like to have the buttons vertically…on the right side of the screen.…This isn't as easy as it sounds and I'll make…the warning now, we are headed into some…deep technical waters here.…You need to address two problems with constraints.…
The first is not adding any conflicting constraints.…You must only replace a constraint.…You must replace the pin between order button trailing…and back button leading with one between order button bottom…and back button top.…That's the second problem.…The first is not adding any conflicting constraints.…You must replace a constraint.…You must replace the pin between order button trailing…and back button leading with one between order button bottom…and back button top.…
That's the second problem.…Constraints are read only so you can't…
- When and why to use Auto Layout programmatically
- Creating constraints in Swift
- Resolving errors in Auto Layout
- Using the safe area
- Working with the Visual Format Language
- Adding a stack view
- Harnessing the power of inequalities and priorities in constraints
- Understanding traits and size classes
Skill Level Intermediate
Learning LayoutTest for iOS Developmentwith Kyle Sherman1h 43m Intermediate
Designing iOS and Android Appswith Renata Phillippi1h 6m Intermediate
1. Basic Concepts in Auto Layout
2. Coding Constraints
3. The Visual Format Language
4. Stack Views
5. Advanced Layout
6. Size Classes
Next steps1m 42s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.