refactor(ios): handle constraints in cases (#1125)