add meth in platforms
ios platform