How to Make a UIStackView Scrollable with UIScrollView in Swift

Let's learn together how to make UIStackView Scrollable with UIScrollView.

https://mandarapte.com/apple/how-to-make-a-uistackview-scrollable-with-uiscrollview-in-swift/

#swift #uistackview #uiscrollview #xcode #apple #development #programming #developer #learn #coding

Okay donc #UITextView avec excludedPath et #UIStackView ne font pas bon ménage du tout, du tout.
Ça m'aura bien fait galérer mais c'est bon à savoir …
#Swift #UIKit #iOS
Do you know how to set the background color of a #UIStackView? @[email protected] knows!
TL;DR: insert the colored subview in the "subviews" of the stack view (as opposed to the arrangedSubviews"). 😎
https://fluffy.es/stackview-background-color/
How to set background color on a Stack View

In a hurry and just want jump to the code? Click here You might have tried to set background color on a stack view before, be it using Interface builder or using code like stackView.backgroundColor = UIColor.green , but it doesn't work as setting background color have no effect on