Skip to content

Add abillity to control alert duration #68

Open
@boserup

Description

@boserup

It would be neat if it was possible to specify the duration of the the alert when presenting it. Right now the duration property is only available in the view, and not the AlertKitAPI wrapping class.

Context:

AlertKitAPI.present(
    title: "Oops",
    subtitle: error?.localizedDescription,
    icon: .error,
    style: .iOS17AppleMusic,
    haptic: .error
)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions