The iPhone certainly was in development some time prior to its announcement.
Public iPhone announcement was January 9th 2007: http://www.apple.com/pr/library/2007/01/09Apple-Reinvents-th...
Even with a conspiracy angle, a three month head start isn't much.
The iPhone certainly was in development some time prior to its announcement.