- July 15, 2025
- Mins Read
A replacement of default action sheet, but has very simple usage.
Add more custom affects and styles.
KPActionSheet is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod ‘KPActionSheet’, git: ‘https://github.com/khuong291/KPActionSheet’
let kpActionSheet = KPActionSheet(items: [
KPItem(title: “Hello guys 😎”, onTap: {
print(“Hello guys 😎”)
}),
KPItem(title: “Hello girls 😇”, onTap: {
print(“Hello girls 😇”)
}),
KPItem(title: “Cancel”, type: .Cancel)
])
present(kpActionSheet, animated: true, completion: nil)