Apple started working on the iPad in 2002, and the iPhone was actually a spin-off from the iPad development.