only reason Apple announced six months in advance was the the FCC approval process, being public the iPhone would've been out in any case whether Apple announced or not.
http://en.wikipedia.org/wiki/IPhone
I remember hearing this story at the time, as well.
For all we know, the rules could be different for iPhone 5, since it is an update of an existing product, rather than a new one.