Bind two UIview fram/Position using Rxswift
I want to change view2 position automatically when view1 position will change and bind the both view position using Rxswift. I try to observe view frame/position using this view.rx.observe(CGRect.self,"frame") .subscribe(onNext: { print($0 ?? (0,0)) }) it print frame on init time but when change view position using constraints self.constraintHorizontalCenterView.constant = 1000 it print nothing means this code not observe view position... Is there any way to observe continuously view position or bind view position? from apple ' frame ' // animatable. do not use frame if view is transformed