Added pre-hook to detect iPhone apps emulated on iPad