implemented text setting on iOS