The company announced a new version of the iPhone with lots of new programs.