Replace outdated UIDevice extension with DeviceKit
The code used in Extension/Util.swift
to detect what device is used, i.e. the UIDevice
extension, is outdated and doesn't include any of the newer screen resolutions or devices.
DeviceKit is a dedicated pod which was created for that purpose and is actively maintained. I would suggest to remove the custom extension and use DeviceKit instead.