Determine if the device is ARM64
问题 I'm trying to make a tweak for iOS 7 so that when a device is ARM64 it runs one version and when it is not it runs another (since float is for 32 bit and double is for 64 (If you have a solution for that let me know.) So it would be like this if ARM64 { \\run double code } else { \\run float code } 回答1: You would do the following #if __LP64__ \\You're running on 64 bit #else \\You're running on 32 bit #endif 回答2: On arm64 environment, the pointer take 8 bytes. - (BOOL)isArm64 { static BOOL