init submit ios code gen