Add support to iOS 5 and lower