add iOS record code.