A compatibility class to use some of the more important iOS 7 methods on previous versions of iOS.