Erased iPhone X and still asks for passcode
I successfully changed my iPhone X passcode -
The next day my iPhone didn’t accept my new passcode (or my old passcode )
i erased it and then choose restore from iCloud …It’s once again asking for a passcode. My question is, by restoring from iCloud does it clear passcodes or carryover my previous one? Should I have ‘ erased ‘ my iphone instead of restoring it from iCloud and then set it up ‘ manually ‘
instead of using iCloud to replace my data ?