support ios native messagbox handler