fix(ios): constraint warnings in iOS 18 and older (#1123)