A great deal of ink is spilled in the reactionary sphere and the HBD sphere regarding IQ. One might ask why is this so? Is everyone still obsessed with the almighty SAT that they took in their late teens?
The answer to this question is that it's probably the most useful metric compared to the work necessary to obtain it in the social sciences. In the social sciences, you very rarely get correlation coefficients anywhere near that of the physical sciences. People are far messier than even organic chemicals. To get good predictive results out of correlations at the level found in the social sciences, you've got to be looking at large groups of people, at least if you're spoiled by the precision of harder sciences.
There are other metrics that are almost as useful, like executive capacity and conscientiousness, but the big problem with them is that they're generally awfully easy to game. Whenever there are significant stakes involved, the participants WILL try to game whatever test or screening/interviewing procedure you establish. I've been on both sides of such processes, although I've long since interviewed more people than have interviewed me. Every candidate will attempt to 'put his best foot forward'. Your fancy questions intended to reveal the candidate's true nature are discussed in detail in interviewing classes and books. Such is life. IQ at least has the merit that it's damned difficult to game.
There are two major types of IQ tests out there. The first type tests things that are commonly done and studied in the culture of interest. For instance, the old SAT is a good example of this, testing things that have a wide cultural relevance for prospective college students---no math beyond algebra II, for instance. You use the test to rank order the participants and assign scores based on the percentile of each test taker. In practice this corresponds pretty well with what we informally call intelligence in everyday speech. The test is of a form familiar to most of its takers and is difficult to prepare for specifically---even the test prep industry can't normally promise more than 50 points or so. Tests of this form have been affected much less by the Flynn effect, and in some cases, not at all. Sometimes these tests are referred to as tests of 'crystallized' intelligence.
The second sort of IQ test attempts to be 'culture fair' and thus tries to test things that nobody's culture does much of---ideally it's a total novelty, like your first encounter with a Sudoku puzzle. Lots of things like fill in the next picture in this sequence, patterns in matrices or mathematics, and the like show up on tests like these. Such tests are often called tests of 'fluid' intelligence and have been heavily affected by the Flynn effect. I'll advance my explanation of why:
These types of tests USED to be much more of a novelty than they are now to their takers. Look at the toys SWPLs give their children these days. Look also at the sorts of puzzles that crop up in ordinary newspapers and magazines now compared to in previous generations. They retain their correlation with tests of the other sort only because they are continually renormed. Their content, indeed, their type of content has become progressively less alien and more embedded into our culture as a whole. This observation is also consistent with the observation that the Flynn effect has largely stopped in most 1st world nations. This is my explanation of my observation that when I meet a healthy senior citizen described as bright, or very bright back when he was young (and often, in fact usually, tested by some military apparatus to stick a number to that ordinal description), he generally strikes me and others around at roughly the same ordinal level as he was described in his younger years. One could do a study if one had the military IQ test score results from a large cohort from say, 40 years ago with 55-60 year olds today. Would you see their results depressed by 40 years of Flynn effect? I seriously doubt it.
This isn't to say that improved nutrition (although I'll grant, a mixed bag here, but outright nutritional deficiencies on things like iodine, iron, and folate have ceased to be going concerns for most people) and reduction of lead in the environment haven't had some impact---they have, and a small fraction of the Flynn effect shows up on 'crystallized' tests of intelligence. But relatively speaking compared to the artifact above, I think they're small fry.