Before anyone gets too excited, it should be noted that the show is a work of fiction. 
Also, it’s the corporate network servers that were hacked, and it’s the data on the devices that were connected to that network which were compromised, whether they were iPhones or otherwise. There are several mentions within the episode that states that any personal cloud services, and the data contained therein, is safe.