iOS7 optimization