← 返回首页
Add abillity to control alert duration · Issue #68 · sparrowcode/AlertKit · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Add abillity to control alert duration #68

New issue
New issue

Description

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Footer

    © 2026 GitHub, Inc.