[ios] support for 3.5.2 sdk