How to check if your app is running in 64bit
There are two ways to determine this: at runtime (i.e. in your running code), and at compile time (i.e. before the code is compiled). Let’s take a look at both options. Runtime Check // testing for 64bit at runtime if (sizeof(void*) == 4) { self.textLabel.text = @”You’re running in 32 bit”; } else if (sizeof(void*) […]