sparrowcode / AlertKit

Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.

Home Page:https://sparrowcode.io/frameworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to Dismiss this?

wanmeixx opened this issue · comments

AlertKitAPI.present(
title: "...",
icon: AlertIcon.spinnerSmall,
style: .iOS17AppleMusic,
haptic: AlertHaptic.none
)

Try this:

let alertView = AlertAppleMusic17View(title: "...", icon: .spinnerSmall)
alertView.haptic = .none
alertView.dismiss()

Yes, thanks to @HassanTaleb90 !

its exactly like should work. Wrapper is good for fast templates.
But with customise use view.