Ishteyaque Ahmad
Ishteyaque Ahmad

Reputation: 19

How to change UIActivityController view to forceRightToLeft always

UIActivityController view is not supporting rtl. I have set UIView.appearance().semanticContentAttribute = .forceRightToLeft in AppDelegate. If device language is English ActivityController is still opening in leftToRight instead of RightToLeft. It is working fine with device language is Arabic. Even I have tried to make activity controller view to rightToleft but no luck. enter image description here

Should be rightToLeft.

Upvotes: 0

Views: 84

Answers (1)

Vishal Zaveri
Vishal Zaveri

Reputation: 1557

You need to add languages in localisation section under info section in Xcode.

for more details checkout this link

enter image description here

output: enter image description here

Upvotes: 0

Related Questions