Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source Project Allowing You To Use The iOS 8 UIAlertController Syntax In iOS 7

  •  
  •  
  •  
  •  
  •  

With the iOS 8 SDK Apple has delivered a much simpler API for creating UIAlertView’s and UIActionSheet’s, but if you’re looking to support iOS 7 you can’t use the new clean and simple syntax of UIAlertController.

Here’s an open source project from Peter Steinberger that bring backwards compatibility to the iOS 8 UIAlertController API with PSTAlertController.

PSTAlertController brings the new alert controller API to iOS 7 allowing, you simply need to replace UIAlertController with PSTAlertController, program the way you would with iOS 8’s UIAlertController API and on iOS 8 the new alert controller will be used, and on iOS 7 PSTAlertController.

You can find PSTAlertController on Github here.

A useful component for those looking to use the new UIAlertController API while supporting iOS 7.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments