SkillAgentSearch skills...

PSTAlertController

API similar to UIAlertController, backwards compatible to iOS 7. Will use the new shiny API when you run iOS 8.

Install / Use

/learn @steipete/PSTAlertController
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PSTAlertController

API similar to UIAlertController, backwards compatible to iOS 7. Will use the new shiny API when you run iOS 8.

We cheat a bit by having PSTAlertController superclass be NSObject, but for most use cases it's still a lot more convenient than using UIAlertView/UIActionSheet.

Functions that are only possible since UIAlertController are not back-ported. This is a simple wrapper to make your life more convenient, not a complete rewrite.

Written for PSPDFKit, The leading framework for displaying and annotating PDFs in your iOS apps.. It's a commercial library, but sometimes I just love to share.

Compatbility

Tested with iOS 7-9, Xcode 7 and ARC.

License

MIT, see LICENSE file.

View on GitHub
GitHub Stars734
CategoryDevelopment
Updated2mo ago
Forks90

Languages

Objective-C

Security Score

95/100

Audited on Jan 27, 2026

No findings