Dial *3001#12345#* followed by the call button to reveal advanced network settings and cellular data information, as explained in this Wilson Amplifiers blog post .
Apps such as Phone Diagnostics allow for thorough testing of components like touch screens, cameras, and speakers, as noted in this PCMag article.
You can initiate a hardware test by turning off your phone, holding both volume buttons, and plugging it into a charger, according to this YouTube video . Test & Check for iPhone
Dial *#06# to immediately show your device’s unique IMEI number, as shown in this PCMag article.
Offers details about the device's system specifications. Other Ways to Test/Check Your iPhone Dial *3001#12345#* followed by the call button to
Helps check sensors and parts, according to App Store descriptions.
Provides information on CPU usage, battery health, and storage. Dial *#06# to immediately show your device’s unique
Are you asking because of a specific (e.g., battery, touchscreen) or are you evaluating a used iPhone ? Let me know, and I can suggest the best diagnostic tools for that situation. My Device Info! - App Store - Apple