 
 private let imageManager = PHCachingImageManager()
 private let imageHeight: CGFloat = 150
-private let imageMargin: CGFloat = 1
+private let imageMargin: CGFloat = 2
 private let imageContentHeight = imageHeight + 2 * imageMargin
 private let imageFetchLimit = 100
 

        }

        imageButtons = []
        var x: CGFloat = nativeCameraButton.frame.maxX, y: CGFloat = 1
        for asset in assets {
            guard let image = image(forAsset: asset) else { continue }


        nativeLibraryButton.setImage(.library, imageStyle: .normal, for: .normal)
        nativeLibraryButton.backgroundColor = .white

        let extraButtonsSize = CGSize(width: 60, height: (imageContentHeight - 3 * imageMargin) / 2)
        nativeCameraButton.frame = CGRect(x: imageMargin, y: imageMargin, width: extraButtonsSize.width, height: extraButtonsSize.height)
        nativeCameraButton.addTarget(self, action: #selector(openNativeCameraTapped), for: .touchUpInside)
        imagesScrollView.addSubview(nativeCameraButton)

        nativeLibraryButton.frame = CGRect(x: imageMargin, y: nativeCameraButton.frame.maxY + imageMargin, width: extraButtonsSize.width, height: extraButtonsSize.height)
        nativeLibraryButton.addTarget(self, action: #selector(openNativeLibraryTapped), for: .touchUpInside)
        imagesScrollView.addSubview(nativeLibraryButton)

        nativeAdditionalImagesButton.setImage(.dots, imageStyle: .normal, for: .normal)
        nativeAdditionalImagesButton.backgroundColor = .white
        nativeAdditionalImagesButton.addTarget(self, action: #selector(openNativeLibraryTapped), for: .touchUpInside)
        nativeAdditionalImagesButton.frame = CGRect(x: 0, y: imageMargin, width: extraButtonsSize.width, height: extraButtonsSize.height * 2 + imageMargin)
        imagesScrollView.addSubview(nativeAdditionalImagesButton)
    }

