 import UIKit
 
 final class ExampleView: UIView {
+    
+    private let stackView: UIStackView = {
+        let stackView = UIStackView()
+        stackView.axis = .vertical
+        stackView.alignment = .center
+        stackView.distribution = .equalSpacing
+        stackView.spacing = 8
+        return stackView
+    }()
     
     private let mediaPickerButton = UIButton()
     private let maskCropperButton = UIButton()

    var onShowPhotoLibraryV2NewFlowButtonTap: (() -> ())?
    var onShowScannerButtonTap: (() -> ())?
    
    // MARK: - UIView
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        mediaPickerButton.sizeToFit()
        mediaPickerButton.center = CGPoint(x: bounds.midX, y: bounds.midY - 60)
        
        maskCropperButton.sizeToFit()
        maskCropperButton.center = CGPoint(x: bounds.midX, y: bounds.midY - 30)
        
        photoLibraryButton.sizeToFit()
        photoLibraryButton.center = CGPoint(x: bounds.midX, y: bounds.midY)
        
        photoLibraryV2Button.sizeToFit()
        photoLibraryV2Button.center = CGPoint(x: bounds.midX, y: bounds.midY + 30)
        
        photoLibraryV2NewFlowButton.sizeToFit()
        photoLibraryV2NewFlowButton.center = CGPoint(x: bounds.midX, y: bounds.midY + 60)
        
        scannerButton.sizeToFit()
        scannerButton.center = CGPoint(x: bounds.midX, y: bounds.midY + 90)
    }
    
    // MARK: - Private
    
    @objc private func onShowMediaPickerButtonTap(_: UIButton) {

            for: .touchUpInside
        )
        
        stackView.addArrangedSubview(mediaPickerButton)
        stackView.addArrangedSubview(maskCropperButton)
        stackView.addArrangedSubview(photoLibraryButton)
        stackView.addArrangedSubview(photoLibraryV2Button)
        stackView.addArrangedSubview(photoLibraryV2NewFlowButton)
        stackView.addArrangedSubview(scannerButton)
        
        addSubview(stackView)
        
        stackView.translatesAutoresizingMaskIntoConstraints = false
        stackView.centerYAnchor.constraint(equalTo: centerYAnchor, constant: 0).isActive = true
        stackView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 16).isActive = true
        stackView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -16).isActive = true
    }
    
    required init?(coder aDecoder: NSCoder) {
