[ios] support for 3.5.1 sdk