- August 28, 2025
- Mins Read
UIStackView is a very handy tool to build flow layout, but it’s available only when iOS9+, we’ve found some great compatible replacements like OAStackView, but we want more:
platform :ios, ‘7.0’
pod “FDStackView”, “1.0”
Import nothing, learn nothing, it just works.
// Works in iOS6+, use it directly.
UIStackView *stackView = [[UIStackView alloc] init];
stackView.axis = UILayoutConstraintAxisHorizontal;
stackView.distribution = UIStackViewDistributionFill;
stackView.alignment = UIStackViewAlignmentTop;
[stackView addArrangedSubview:[[UILabel alloc] init]];
[self.view addSubview:stackView];
Set Builds for
option to iOS 9.0 and later
to eliminate the version error in Xcode:
Now, use UIStackView as you like and its reactive options and live preview:
This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...
Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...