Check for iOS7
From http://stackoverflow.com/questions/18992766/best-way-to-check-for-ios-7-or-earlier