The information as @Anbu mentioned are:
- iPhone 8: iPhone10,1 and iPhone10,4
- iPhone 8 Plus: iPhone10,2 and iPhone10,5
- iPhone X: iPhone10,3 and iPhone10,6
Remember if you want to use UIDevice.current.modelName
you need to create your own extension since this is not a default value in UIDevice.current
.