On 64 bit you must cast the objc_msgSend function to a prototype that matches the method function being called (see apple 64-Bit Transition Guide).
added iPad and iPhone 6 images