Set UIKit detection as a static method