Connect your device and open iTunes. In the source list (the left column of iTunes), double-click the device name. Type a new name for the device and press the Return key on your keyboard. Sync your device (press "Sync" in the lower right corner of the screen).
1. On the iPhone side, first enter the settings options of the iPhone, and then select the general options. Then enter About This Mac and select the phone name in the first item. You can then change the phone name you want to change.
2. On the iTunes side, first connect the iPhone and then open iTunes. Tap the Devices button in the upper right corner. If the iTunes Store is displayed, you need to click the library button in the upper right corner first. If you don't see the iPhone option, choose Hide Sidebar in the Show menu, then double-click the device name next to the device picture. Type a new name for the device and press Enter to confirm the change.
If you want to change XXX on iPhone, there are the following two methods
1. Use the phone directly to make the change:
Open the phone settings - General - -About this machine-name, just change it to the name you want.
2. Use the computer iTunes client to make changes
Connect the mobile phone to the computer, click the device name under Settings in iTunes and then modify it.
Extensions
iOS is a mobile operating system developed by Apple. Apple first announced this system at the Macworld conference on January 9, 2007. It was originally designed for use with the iPhone, and was later applied to iPod touch, iPad, Apple TV and other products. iOS, like Apple's Mac OS X operating system, is a Unix-like commercial operating system. Originally, this system was called iPhone OS. Because iPad, iPhone, and iPod touch all use iPhone OS, it was announced at the 2010 WWDC conference that it would be renamed iOS (iOS is a registered trademark of the network equipment operating system of the American company Cisco, and Apple's name change has been authorized by Cisco).
In January 2016, with the release of version 9.2.1, Apple fixed a vulnerability that had existed for 3 years. This vulnerability allows iPhone or iPad users to access a network with a captive portal in a hotel or airport, and the login page will display the network terms of use through an unencrypted HTTP connection. After the user accepts the terms, they can surf the Internet normally, but the embedded browser will share unencrypted cookies with the Safari browser. Using this shared resource, hackers can create autonomous fake captive portals and associate them to WiFi networks to steal any unencrypted cookies saved on the device.