- Method chain.
- Can add multiple actions at once.
- UITextField support.
- Image support
- iPad support(Action Sheet, popover).
- Can change title/message/button text/ background color without using private APIs.
- Can change title/message's alignment without using private APIs.
- iOS 10.0+
- Xcode 11+
- Swift 4.2+
Alertify is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'Alertify'
NotificationBubbles is available through Swift Package Manager. To install it, simply add the following dependency to your Package.swift
.package(url: "https://github.com/karthikAdaptavant/Alertify.git", from: "4.0.7")
Alertify.actionSheet(message: nil, anchorView: sender)
.action(.default("Hello"), image: #imageLiteral(resourceName: "chat"))
.action(.default("Info"), image: #imageLiteral(resourceName: "info"))
.action(.cancel("None"))
.finally { action, index in }
.show(on: self)
karthikAdaptavant, karthik.samy@a-cti.com
Alertify is available under the MIT license. See the LICENSE file for more info.