Added helper for detecting iOS 7.