Apple has announced as part of their WWDC 2010 keynote that iOS 4 (previously iPhone OS 4) will go Gold Master (GM) today. That means devs should be able to get it via developer.apple.com and begin testing their apps for release... alongside the new iPhone 4.

More as this develops!