title: iOS: Will this method work on iOS devices?
body: <p>I need a way to detect if iOS device is 64 bit or 32 bit.  My App is 64 bit compatible. So I believe this should work. Please let me know if it won't. I tested it on a 64 bit iPad and it seems to work, but need to make sure.</p>
  
  <pre><code>if (sizeof(void*) == 4) {
  
  } else if (sizeof(void*) == 8) {
  
  }
  </code></pre>