Use effectiveUserInterfaceLayoutDirection
Use effectiveUserInterfaceLayoutDirection

Use effectiveUserInterfaceLayoutDirection to detect RTL on iOS 10 and
above. This is recommended approach to detect layout direction taking
into account view's semantic content attribute, trait environment and
UIApplication layout direction

More info here: https://developer.apple.com/videos/play/wwdc2016/232/?time=1027

mirego/PinLayout,mirego/PinLayout,mirego/PinLayout,mirego/PinLayout