Question: how to transfer photos from iphone to iphone with different apple id?
Answer: Once signed in with the new Apple ID, go to Settings > [your name] > iCloud. Turn on the specific iCloud features you would like to sync with the new Apple ID, including iCloud Photos. This will sync the photos that you previously downloaded to your iOS device to iCloud Photo Library using the new Apple ID.