If statement for iPhone Nav