iOS 7 adaptation