79394379

Date: 2025-01-28 15:43:34
Score: 1.5
Natty:
Report link

The only way I have found to know if it is an iphone or an ipad and use logics depending on the device is this:

UIDevice.current.userInterfaceIdiom == .pad

Any other second the iphone can give missing information.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Eduardo Parada