Translucent

1.0.1

Translucent background helper for widgets in iOS
kasimok/Translucent

What's New

Fixed middle size widget calculation wrong on iPhone 13 and iPhone 14 devices.

2023-01-18T07:31:41Z

Fixed middle size widget calculation wrong on iPhone 13 and iPhone 14 devices. Bug caused by a typo.

Translucent

A Transparent background utility for cropping a transparent images backgrounds to homescreen widgets. Inspired by Scriptable script

Preview

Installation

Add this dependecy to your project with SPM

Usage

import Translucent

//Create instances

let bgLight = Wallpaper(/* User wallpaper in UIImage */)
let bgDark = Wallpaper(/* User wallpaper in UIImage */)

//And get backgrounds for widgets

bgLight.widgetBackground(for: /* the position */)

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Thu Oct 17 2024 22:39:56 GMT-0900 (Hawaii-Aleutian Daylight Time)