Friday, November 25, 2011

Determining iOS Hardware / Device

I am currently working on my second iOS game in which I am creating dynamic Open GL ES reflections, and noticed on the older devices it would cause a drop in frames per second. It doesn't on the iPad 2, I do not have iPhone 4S yet, but I assume it won't have a visible effect there either with the new CPU.

So to not diminish the user experience I decided to remove those reflections, on the interactive CCSprite, on the older devices.

I went searching and found : UIDeviceHardware - Determine iOS device being used

I ended up just using: (platformString wasn't useful to me) I then just created a convenience method for myself to check for the version that have the Dual-core Apple A5 processor.

6 comments:

  1. There are many online gaming enthusiasts who enjoy playing final fantasy XIV game, and it is much easier for them to grab ffxiv gil rapidly by applying the best site titled MMOGAH. To comprehend the track of ffxiv making gil low level , folks can take a look at this amazing site.

    ReplyDelete

  2. Türkiye'nin tarihi ve doğal güzellikleriyle ön plana çıkan yerlerinden biri olan https://bayanserik.space/, özellikle peri bacalarıyla ünlüdür. Bu bölge, hem tarih severler hem de doğa tutkunları için eşsiz bir deneyim sunar. Gezginler, https://bayanserik.space/'deki benzersiz manzaraları keşfetmek ve kültürel zenginlikleri yakından tanımak için sabırsızlanmaktadır. Unutulmaz anılar biriktirmek isteyenler için ideal bir destinasyondur.

    ReplyDelete

Building KubeSkippy: Learnings from a thought experiment

So, I got Claude Code Max and I thought of what would be the most ambitious thing I could try "vibe"? As my team looks after Kuber...