mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
21 lines
456 B
Swift
21 lines
456 B
Swift
//
|
|
// VisualEffectBlur.swift
|
|
// StikJIT
|
|
//
|
|
// Created by Stephen on 3/27/25.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
// Universal Blur Effect (for iOS)
|
|
struct VisualEffectBlur: UIViewRepresentable {
|
|
let style: UIBlurEffect.Style
|
|
|
|
func makeUIView(context: Context) -> UIVisualEffectView {
|
|
let view = UIVisualEffectView(effect: UIBlurEffect(style: style))
|
|
return view
|
|
}
|
|
|
|
func updateUIView(_ uiView: UIVisualEffectView, context: Context) {}
|
|
}
|
|
|