I've added the segmented by code, and added constraints, but when the app is rtl, the segmented remains the same. Not mirroring the view to support rtl.
Try to use a little hack to mirror the view using CGAffineTransform, but the labels are mirrored also. Not very good idea.
Any idea?