Updates casting for arm64 ios7