Apple gives you an option for telemetry on first boot. No idea how much that option turns off. Not sure if the phone sends anything to Apple with that option and not using Apple services (that’s pretty hard because of the App Store; if you really care about iPhone privacy you’d want to download all your apps once then never touch the store again).