iPhone OS 4, with support for multitasking, in-app advertising, e-book reading, social gaming and more, will be released to developers this week. Consumers will be able to get the new operating system sometime this summer.