Adapts to iOS 8