Question: how can i connect my iphone to my computer with a broken screen?
Answer: Download and install ApowerRescue on your computer. ... 
Open the application then connect the iOS device to the PC using a lightning cable.
After connecting iPhone to PC via lightning cable, select all folders/files you wish to recover/transfer and click “Start scan” for the tool to analyze the data.