Fixed a tmp directory issue for isIPHONE
Fixed a tmp directory issue for isIPHONE