A dynamic blur background view with tint color support for iOS, built as a UIVisualEffectView subclass.
VisualEffectView is an iOS library that creates dynamic blur background views with customizable tint colors. It solves the problem of limited customization in Apple's native UIVisualEffectView by providing additional control over blur radius, tint color, saturation, and scale. The library supports both UIKit and SwiftUI interfaces.
iOS developers building applications that require sophisticated visual effects, particularly those needing customizable blur backgrounds with tint colors for modal views, menus, or decorative elements.
Developers choose VisualEffectView because it extends Apple's native blur system with additional customization options while maintaining compatibility with both UIKit and SwiftUI. It offers modern glass effects for iOS 26+ and provides a simple API for creating professional visual effects.
Dynamic blur background view with tint color (UIVisualEffectView subclass) 📱
Allows fine-tuning of blur radius, tint color, alpha, scale, and saturation, as detailed in the customization section with properties like blurRadius and colorTintAlpha.
Seamlessly works with both UIKit via the VisualEffectView class and SwiftUI via the VisualEffect view, enabling integration in modern and legacy iOS codebases.
Includes .glass() style for iOS 26+, using public APIs to implement trendy glass morphism effects safely for App Store submission, as highlighted in the styles section.
Supports Interface Builder, storyboards, and xib files, making it straightforward to design blur effects visually without code, as noted in the usage examples.
The custom blur style relies on private UIKit APIs, which the disclaimer warns could lead to rejection, making it risky for production apps without caution.
Customization properties like blurRadius and colorTint only apply when using .customBlur style, reducing functionality with .systemBlur or .glass styles, as specified in the README notes.
Requires careful handling, such as setting colorTintAlpha after colorTint to avoid issues and managing subviews through contentView, which can introduce bugs and confusion.
Strictly limited to iOS applications, with no support for macOS, watchOS, or cross-platform frameworks, limiting its use in broader projects.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.