Question: how to transfer data from broken screen iphone?
Answer: Run the software on the computer that your broken iPhone/iPad trusted.
Connect the cracked device to PC/Mac. ... 
Preview and retrieve photos, contacts, text messages, videos, etc from broken iPhone or iPad and save them as backups on computer.