iOS 7 optimization