If I restore an old phone to factory settings to give to a friend will i lose anything from my apple id
I have an old phone (iPhone 12 I think) that I'd like to give to a friend but am not sure if by restoring it to factory settings I'd lose anything from my Apple ID - as far as I'm aware everything is saved to the cloud and my MacBook Pro but I'm nervous as I'm unsure whether deleting things from the phone will also delete them from my Apple ID and I don't want to lose any of my photos etc.... please advise me, many thanks