I want to ignore safe are on only some devices. Is there a conditional statement where I can only ignore safe area on specific models of iPhone?
ignoreSafeArea on some devices
There is no way to get the device model, only the device type (iPhone, iPad, etc.)
This post, however, extends UIDevice to accommodate all the device types.
This post, however, extends UIDevice to accommodate all the device types.
What do you want precisely ?
https://stackoverflow.com/questions/46192280/detect-if-the-device-is-iphone-x
Need to know the exact model:
=> Hope this could help
https://stackoverflow.com/questions/26028918/how-to-determine-the-current-iphone-device-model
know if there is a notch ?
https://stackoverflow.com/questions/46192280/detect-if-the-device-is-iphone-x
Need to know the exact model:
=> Hope this could help
https://stackoverflow.com/questions/26028918/how-to-determine-the-current-iphone-device-model