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
Apps such as Phone Diagnostics allow for thorough testing of components like touch screens, cameras, and speakers, as noted in this PCMag article. Test & Check for iPhone
Offers details about the device's system specifications. Other Ways to Test/Check Your iPhone Are you asking because of a specific (e
Provides information on CPU usage, battery health, and storage. Test & Check for iPhone