init ios platform