Hi Brian, I have been making two versions of the app, one is fully programmatic and the other follows your approach with the xib files. My question is when I set the height of the titleLabel to
titleLabel.heightAnchor.constraint(greaterThanOrEqualToConstant: 20).isActive = true
in the fully programmatic app it configures the height of the titleLabel to adjust for the remaining space instead of the playControlsStackView (the stackView with the play pause button).So my title is huge and the play controls are squished at the bottom. My resolution has been to configure the height to be
titleLabel.heightAnchor.constraint(lessThanOrEqualToConstant: 40).isActive = true
however, this approach keeps the titleLabel to a constant height of 40 and never actually adjusts it. Do you know of a fix that I could use to have the titleLabel still be adjustable instead of hard coding it to 40?
And as a side note, I have been attempting to use the new system bicolors which automatically adjust to dark mode or light mode. Could you maybe include the proper way of doing this (for buttons, imageViews, and text labels) to properly account for light and dark mode.
Thank you in advance and thanks for the great courses!