iPhone detecting processor model / NEON support

前端 未结 4 1963
栀梦
栀梦 2021-02-03 11:33

I\'m looking for a way to differentiate at runtime between devices equipped with the new ARM processor (such as iPhone 3GS and some iPods 3G) and devices equipped with the old A

4条回答
  •  粉色の甜心
    2021-02-03 12:19

    One workaround I can think of, is detecting if OpenGL ES 2.0 is available, since the newer processors enable that.

    There's an article at mobileorchard on how to do it.

提交回复
热议问题