In Vista/Win7, they mostly used glass background for parts of the window that didn't have any text on them. And for the few exceptions where that wasn't the case (like e.g. window titles) they added a kind of halo so that black text would always contrast with that regardless of what was below the window, or else just significantly darken the glass and use white text. All for obvious reasons.
Looking at the new iOS screenshots, I'm surprised that those reasons apparently aren't obvious to Apple designers.