Adding support to iOS 7