[ios] fixed cordova 2.3+ issue