- Add UIPageControl to ImageCarouselViewController for image navigation - Implement options menu with save, copy, and share actions - Remove deprecated context menu and navigation item configurations - Add UIImage extension for alpha manipulation - Update GaleriaView to simplify navigation item handling Signed-off-by: Innei <tukon479@gmail.com>
19 lines
310 B
Swift
19 lines
310 B
Swift
//
|
|
// UIImage.swift
|
|
// FollowNative
|
|
//
|
|
// Created by Innei on 2025/3/12.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
extension UIImage {
|
|
|
|
func withAlpha(_ alpha: CGFloat) -> UIImage {
|
|
return UIGraphicsImageRenderer(size: size).image { _ in
|
|
draw(at: .zero, blendMode: .normal, alpha: alpha)
|
|
}
|
|
}
|
|
|
|
}
|