how to connect iphone to mac with icloud?
Open System Preferences and click iCloud. Check iCloud Drive to turn it on, and make sure to do this on all the devices—Macs and iOS—that you want to access files on iCloud Drive. (For iOS devices, go to Settings > iCloud to activate iCloud Drive.)