This framework is get device name from model number.
Standard UIDevice can only distinguish iPhone or iPad.
This framework is get device name from model number.
- File > Swift Packages > Add Package Dependency
 - Add https://github.com/MasamiYamate/YMTGetDeviceName
 - Select "Up to Next Major" with "5.8.0"
 
Add to Cartfile
github "MasamiYamate/YMTGetDeviceName" ~> 5.8.0
Execute the following command
carthage update --platform iOS --use-xcframeworks
import YMTGetDeviceNameprint(YMTGetDeviceName.getDeviceName())Supports iOS devices up to 2024/09/18 (JST)